Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/mod/mod_mem_cache.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 07:47:36 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï |
Apache HTTP Server Version 2.2
ÌÃÈý: | URIÈ? ÕÀÇÞ Ë÷Ïû×ßÏ? ÃËÏûÐË ÔÃÍ?×áÄé. |
---|---|
Ë?ÕÒ: | Experimental |
È?ÅòÈý: | mem_cache_module |
ÌâÍÊÖÔÐß: | mod_mem_cache.c |
ÐÜ È?ÅòÐË Ë÷Ïû×ßÇÑÈù mod_cache
ÀÅ
×ÚÏô×ßÄé. ÐÜ È?ÅòÐÊ mod_cache
È?
Ñ?Ï?×ßÈ÷ ÈîÈ?È?ÁòÉí Ð?ÐõÀ?È?ÐêÈ? Ñ?À?×áÄé.
mod_mem_cache
ÄÒ ÖÔÐßÁòÌ?ÐêÈ? ÔÃÍ?ÏÅ Ð?Ðõ×ßÀÕÃ?
ÀÄÓÌÈ? Ø? À?À?ÏÅ ÔÃÍ?×ßÄÒ ÅÞÀÅÑ? ÉöÍÔÐÈÇÞ ÅÏÐë×áÄé.
mod_mem_cache
ÄÒ Ñ?Ñ? Ì-É?ÀÅ ËÌÊ×á ÖôÐÜÑ?È?
ÔÃÍ?×ßÀÕÃ? ProxyPass
ÇÞ
ÌÃÑ?×á (Ï?×ÑÇßÍÓ(reverse proxy))
mod_proxy
Ð× ÅîÄì Ì-É?ÃËÏûÐË ÔÃÍ?×âÆ? ÑæÇÞ
Ë÷Ïû×áÄé.
ÃËÏûÐÊ URIÈ? ÕÀÇÞ Ë÷Ïû×ßÏ? ÔÃÍ?ÏÅ Ð?Ðõ×ßÀý ÀÅÑ?ÏÒÄé. Ñ?ÁéÐË Ñ?Îþ×ßÄÒ ÃËÏûÐÊ ÔÃÍ?ÏÅ Ð?Ðõ×ßÑ? ÎÚÄÒÄé.
ÌÃÈý: | ÔÃÍ?ÏÅ Ð?Ðõ×â Ì? ÐæÄÒ ÓæÄû ÀÄÓÌÀÃÌ? |
---|---|
É?É: | MCacheMaxObjectCount value |
ÁòÊËÀ?: | MCacheMaxObjectCount 1009 |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ? |
Ë?ÕÒ: | Experimental |
È?Åò: | mod_mem_cache |
MCacheMaxObjectCount
Ñ?ÍÓÎþÄÒ
ÔÃÍ?×â Ì? ÐæÄÒ ÓæÄû ÀÄÓÌÀÃÌ?È? ÌÃÑ?×áÄé. ÐÜ À?ÐÊ ×èÍ?ÕçÐÜÊýÐË
ÈÈÅùÆ? Ë÷Ïû×áÄé. Ë?ÇÞÏþ ÀÄÓÌÈ? ÔÃÍ?ÏÅ ÓïÀÅ×èÎï ×ßÄÒÅ? ÓæÄû
ÀÄÓÌÀÃÌ?ÏÅ ÅÅÄî×ßÏÄÄéÈù, Ë?ÇÞÏþ ÀÄÓÌÈ? ÔÃÍ?×â Ì? ÐæÅÅÇß
ÄéÈ? ÀÄÓÌÈ? Ñ?ÀÕ×áÄé. MCacheRemovalAlgorithm
ÐÈÇÞ
Ñ?Ñ?×á ÎÛÀýÈ?Ñ?ÐË Ë÷Ïû×ßÏ? Ñ?ÀÕ×â ÀÄÓÌÈ? ÌÁÕÓ×áÄé.
MCacheMaxObjectCount 13001
ÌÃÈý: | ÔÃÍ?ÏÅ Ð?Ðõ×â É?Ì-Ð× ÓæÄû Õ?Áò (ÉéÐÜÖ? ÄìÐ?) |
---|---|
É?É: | MCacheMaxObjectSize bytes |
ÁòÊËÀ?: | MCacheMaxObjectSize 10000 |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ? |
Ë?ÕÒ: | Experimental |
È?Åò: | mod_mem_cache |
MCacheMaxObjectSize
Ñ?ÍÓÎþÄÒ ÔÃÍ?ÏÅ
Ð?Ðõ×â É?Ì-Ð× ÓæÄû Õ?ÁòÈ? ÉéÐÜÖ? ÄìÐ?ÇÞ Ñ?Ñ?×áÄé.
MCacheMaxObjectSize 6400000
MCacheMaxObjectSize
À?ÐÊ MCacheMinObjectSize
Ñ?ÍÓÎþÇÞ Ñ?Ñ?×á À?ÊÈÄé ÔÏÎï ×áÄé.
ÌÃÈý: | ÐÐÄôÐË ÔÃÍ?ÎØ×áÄéÀý ÀñÑ?×ßÁò Ð?ÁþÑ? ÈîÈ?È? É?ÖëÏÅ Ð?Ðõ×â ÍÊÖ?È ÐÐÄôÐ× ÓæÄû Õ?Áò |
---|---|
É?É: | MCacheMaxStreamingBuffer size_in_bytes |
ÁòÊËÀ?: | MCacheMaxStreamingBuffer 100000À? MCacheMaxObjectSize
ÑïÏÅ ÐëÐÊ À? |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ? |
Ë?ÕÒ: | Experimental |
È?Åò: | mod_mem_cache |
MCacheMaxStreamingBuffer
Ñ?ÍÓÎþÄÒ
ÐÐÄôÐÜ ÃÚÉ? ÔÏÌ- ÔÃÍ?×â Ì? Î?ÐËÆ?ÁþÑ? É?ÖëÏÅ Ð?Ðõ×â ÍÊÖ?ÈÂ
ÐÐÄôÐ× ÓæÄû ÉéÐÜÖ?Ì?È? ÌÃÑ?×áÄé. ÍÊÖ?È ÐÐÄô(streamed response)ÐÊ
Ð?ÓÌ ÃËÏûÐË ÑÿÍÓ ÎÛ Ì? Î?Àý Content-Length
ÅÅ
È?È?ÄÒ ÐÐÄôÐÜÄé. ×ÑÇßÍÓÅØ ÐÐÄôÐÜÃ? CGI ÍÊÕ?ÈÃÖ?Ð× ÓòÇÒÐÜ
ÍÊÖ?È ÐÐÄôÏÅ Ìã×áÄé. ÁòÊËÐ?ÐÈÇÞ Content-Length
×üÄ?ÀÅ Î?ÄéÈù ÍÊÖ?È ÐÐÄôÐË ÔÃÍ?ÏÅ Ð?Ðõ×ßÑ? ÎÚÄÒÄé.
ÐÜÐ?ÄÒ ÔÃÍ?ÏÅ Ð?Ðõ×ßÁòÏÅ ÃÚÉ? Õ? ÐÐÄôÐ× ÐßÊÞÈ? É?ÖëÏÅ
Ð?Ðõ×ßÁòÐ?×è ÈÉÐÊ ÈîÈ?È?È? ÃÆÊå×ßÑ? ÎÚÁòÐ?×èÌ-ÐÜÄé.
MCacheMaxStreamingBuffer
Ñ?ÍÓÎþÈ?
Ë÷Ïû×ßÈù Content-Length
ÀÅ Î?ÄÒ ÍÊÖ?ÈÂ ÐÐÄôÐË
Ñ?Ñ?×á Õ?ÁòÁþÑ?ÈÈ É?ÖëÏÅ Ð?Ðõ×áÄé. ÓæÄû Õ?ÁòÈ? ÃáÎþÌ-Èù
É?Öë ÃËÏûÐË É?È?Àý ÔÃÍ?×ßÑ? ÎÚÄÒÄé.
MCacheMaxStreamingBuffer
ÏÅ 0ÐÜ
ÎÖÄá À?ÐË ÌÃÑ?×ßÏ?ÅÅ Õ?Æ?ÐÜÎ?Ö?ÇÞ ÐÐÄôÐË ÄÚÀä ÊÈÃËÑ? ÎÚÄÒÄé.
mod_mem_cache
ÄÒ ÍÊÖ?È ÐÐÄôÐ× ÐßÊÞÈ?
É?ÖëÏÅ ÊÉË÷×ßÐêÈÆÐê Õ?Æ?ÐÜÎ?Ö?ÇÞ ÊÈÃËÁòÐ?×è ÄéÐÍ ÓòÇÒ×ÚÕÝÇÞ
ÊÈÃÍÄé.
# ÍÊÖ?È ÐÐÄôÐË 64KBÁþÑ? ÔÃÍ?×áÄé:
MCacheMaxStreamingBuffer 65536
ÌÃÈý: | ÔÃÍ?ÏÅ Ð?Ðõ×â É?Ì-Ð× ÓæÌâ Õ?Áò (ÉéÐÜÖ? ÄìÐ?) |
---|---|
É?É: | MCacheMinObjectSize bytes |
ÁòÊËÀ?: | MCacheMinObjectSize 0 |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ? |
Ë?ÕÒ: | Experimental |
È?Åò: | mod_mem_cache |
MCacheMinObjectSize
Ñ?ÍÓÎþÄÒ ÔÃÍ?ÏÅ
Ð?Ðõ×â É?Ì-Ð× ÓæÌâ Õ?ÁòÈ? ÉéÐÜÖ? ÄìÐ?ÇÞ Ñ?Ñ?×áÄé.
MCacheMinObjectSize 10000
ÌÃÈý: | ÔÃÍ?ÏÅÌ- Ñ?ÀÕ×â É?Ì-È? Ó?ÄÒ ÎÛÀýÈ?Ñ? |
---|---|
É?É: | MCacheRemovalAlgorithm LRU|GDSF |
ÁòÊËÀ?: | MCacheRemovalAlgorithm GDSF |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ? |
Ë?ÕÒ: | Experimental |
È?Åò: | mod_mem_cache |
MCacheRemovalAlgorithm
Ñ?ÍÓÎþÄÒ
ÔÃÍ?ÏÅÌ- Ñ?ÀÕ×â É?Ì-È? Ó?ÄÒ ÎÛÀýÈ?Ñ?ÐË Ñ?Ñ?×áÄé.
LRU
(Least Recently Used)LRU
ÄÒ ÀÅÐõ ÏÐÇÅÅÏÎØ Ñ?Áé×ßÑ? ÎÚÐÊ É?Ì-È?
ÈåÐ? Ñ?ÀÕ×áÄé.GDSF
(GreadyDual-Size)GDSF
ÄÒ ÔÃÍ? Í×Öà(cache miss) ÊåÏûÀ? É?Ì-Ð×
Õ?ÁòÈ? ÀÅÑ?Àý ÔÃÍ?×á É?Ì-ÏÅ ÏüÌÁÌ?Ð?È? ÊÞÏ?×áÄé. ÀÅÐõ
ÏüÌÁÌ?Ð?ÀÅ ÃÇÐÊ É?Ì-È? ÈåÐ? Ñ?ÀÕ×áÄé.
MCacheRemovalAlgorithm GDSF
MCacheRemovalAlgorithm LRU
ÌÃÈý: | ÔÃÍ?ÏÅ Ë÷Ïû×â ÓæÄû ÈîÈ?È?Ç? (KByte ÄìÐ?) |
---|---|
É?É: | MCacheSize KBytes |
ÁòÊËÀ?: | MCacheSize 100 |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ? |
Ë?ÕÒ: | Experimental |
È?Åò: | mod_mem_cache |
MCacheSize
Ñ?ÍÓÎþÄÒ ÔÃÍ?ÏÅ Ë÷Ïû×â
ÓæÄû ÈîÈ?È?Ç?ÐË KByte ÄìÐ?ÇÞ (1024 ÉéÐÜÖ? ÄìÐ?) ÌÃÑ?×áÄé.
Ë?ÇÞÏþ ÀÄÓÌÐË ÔÃÍ?ÏÅ ÓïÀÅ×èÎï ×ßÄÒÅ? ÀÄÓÌÐ× Õ?ÁòÀÅ ÃÂÐÊ
ÈîÈ?È?ÊÈÄé Õ?ÄéÈù Ë?ÇÞÏþ ÀÄÓÌÐË ÔÃÍ?×â Ì? ÐæÐËÆ?ÁþÑ? ÄéÈ?
ÀÄÓÌÈ? Ñ?ÀÕ×áÄé. MCacheRemovalAlgorithm
ÐÈÇÞ
Ñ?Ñ?×á ÎÛÀýÈ?Ñ?ÐË Ë÷Ïû×ßÏ? Ñ?ÀÕ×â ÀÄÓÌÈ? ÌÁÕÓ×áÄé.
MCacheSize 700000
MCacheSize
À?ÐÊ MCacheMaxObjectSize
Ñ?ÍÓÎþÇÞ Ñ?Ñ?×á À?ÊÈÄé ÔÏÎï ×áÄé.