Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : 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

Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï
mod_mem_cache - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.2 > È?Åò

ÎÖÖÔÔÅ È?Åò mod_mem_cache

ÀÅÄÙ×á Î?Îþ:  en  |  ja  |  ko 

ÐÜ É?Ì-ÄÒ ÓæÍÕÖ× É?Ï?ÐÜ ÎÖÄåÄßÄé. ÓæÁéÏÅ Ê?ÀöÅØ ÃËÏûÐÊ ÏÅÎþ É?Ì-È? Ò?Àý×ßÌÌÏô.
ÌÃÈý: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È? ÕÀÇÞ Ë÷Ïû×ßÏ? ÔÃÍ?ÏÅ Ð?Ðõ×ßÀý ÀÅÑ?ÏÒÄé. Ñ?ÁéÐË Ñ?Îþ×ßÄÒ ÃËÏûÐÊ ÔÃÍ?ÏÅ Ð?Ðõ×ßÑ? ÎÚÄÒÄé.

Ñ?ÍÓÎþÅù

Ò?Àý

top

MCacheMaxObjectCount Ñ?ÍÓÎþ

ÌÃÈý:ÔÃÍ?ÏÅ Ð?Ðõ×â Ì? ÐæÄÒ ÓæÄû ÀÄÓÌÀÃÌ?
É?É:MCacheMaxObjectCount value
ÁòÊËÀ?:MCacheMaxObjectCount 1009
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?
Ë?ÕÒ:Experimental
È?Åò:mod_mem_cache

MCacheMaxObjectCount Ñ?ÍÓÎþÄÒ ÔÃÍ?×â Ì? ÐæÄÒ ÓæÄû ÀÄÓÌÀÃÌ?È? ÌÃÑ?×áÄé. ÐÜ À?ÐÊ ×èÍ?ÕçÐÜÊýÐË ÈÈÅùÆ? Ë÷Ïû×áÄé. Ë?ÇÞÏþ ÀÄÓÌÈ? ÔÃÍ?ÏÅ ÓïÀÅ×èÎï ×ßÄÒÅ? ÓæÄû ÀÄÓÌÀÃÌ?ÏÅ ÅÅÄî×ßÏÄÄéÈù, Ë?ÇÞÏþ ÀÄÓÌÈ? ÔÃÍ?×â Ì? ÐæÅÅÇß ÄéÈ? ÀÄÓÌÈ? Ñ?ÀÕ×áÄé. MCacheRemovalAlgorithmÐÈÇÞ Ñ?Ñ?×á ÎÛÀýÈ?Ñ?ÐË Ë÷Ïû×ßÏ? Ñ?ÀÕ×â ÀÄÓÌÈ? ÌÁÕÓ×áÄé.

ÏÉÑ?

MCacheMaxObjectCount 13001

top

MCacheMaxObjectSize Ñ?ÍÓÎþ

ÌÃÈý:ÔÃÍ?ÏÅ Ð?Ðõ×â É?Ì-Ð× ÓæÄû Õ?Áò (ÉéÐÜÖ? ÄìÐ?)
É?É:MCacheMaxObjectSize bytes
ÁòÊËÀ?:MCacheMaxObjectSize 10000
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?
Ë?ÕÒ:Experimental
È?Åò:mod_mem_cache

MCacheMaxObjectSize Ñ?ÍÓÎþÄÒ ÔÃÍ?ÏÅ Ð?Ðõ×â É?Ì-Ð× ÓæÄû Õ?ÁòÈ? ÉéÐÜÖ? ÄìÐ?ÇÞ Ñ?Ñ?×áÄé.

ÏÉÑ?

MCacheMaxObjectSize 6400000

Note

MCacheMaxObjectSize À?ÐÊ MCacheMinObjectSize Ñ?ÍÓÎþÇÞ Ñ?Ñ?×á À?ÊÈÄé ÔÏÎï ×áÄé.

top

MCacheMaxStreamingBuffer Ñ?ÍÓÎþ

ÌÃÈý:ÐÐÄôÐË ÔÃÍ?ÎØ×áÄéÀý ÀñÑ?×ßÁò Ð?ÁþÑ? ÈîÈ?È? É?ÖëÏÅ Ð?Ðõ×â ÍÊÖ?È ÐÐÄôÐ× ÓæÄû Õ?Áò
É?É: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

top

MCacheMinObjectSize Ñ?ÍÓÎþ

ÌÃÈý:ÔÃÍ?ÏÅ Ð?Ðõ×â É?Ì-Ð× ÓæÌâ Õ?Áò (ÉéÐÜÖ? ÄìÐ?)
É?É:MCacheMinObjectSize bytes
ÁòÊËÀ?:MCacheMinObjectSize 0
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?
Ë?ÕÒ:Experimental
È?Åò:mod_mem_cache

MCacheMinObjectSize Ñ?ÍÓÎþÄÒ ÔÃÍ?ÏÅ Ð?Ðõ×â É?Ì-Ð× ÓæÌâ Õ?ÁòÈ? ÉéÐÜÖ? ÄìÐ?ÇÞ Ñ?Ñ?×áÄé.

ÏÉÑ?

MCacheMinObjectSize 10000

top

MCacheRemovalAlgorithm Ñ?ÍÓÎþ

ÌÃÈý:ÔÃÍ?ÏÅÌ- Ñ?ÀÕ×â É?Ì-È? Ó?ÄÒ ÎÛÀýÈ?Ñ?
É?É: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

top

MCacheSize Ñ?ÍÓÎþ

ÌÃÈý:ÔÃÍ?ÏÅ Ë÷Ïû×â ÓæÄû ÈîÈ?È?Ç? (KByte ÄìÐ?)
É?É:MCacheSize KBytes
ÁòÊËÀ?:MCacheSize 100
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?
Ë?ÕÒ:Experimental
È?Åò:mod_mem_cache

MCacheSize Ñ?ÍÓÎþÄÒ ÔÃÍ?ÏÅ Ë÷Ïû×â ÓæÄû ÈîÈ?È?Ç?ÐË KByte ÄìÐ?ÇÞ (1024 ÉéÐÜÖ? ÄìÐ?) ÌÃÑ?×áÄé. Ë?ÇÞÏþ ÀÄÓÌÐË ÔÃÍ?ÏÅ ÓïÀÅ×èÎï ×ßÄÒÅ? ÀÄÓÌÐ× Õ?ÁòÀÅ ÃÂÐÊ ÈîÈ?È?ÊÈÄé Õ?ÄéÈù Ë?ÇÞÏþ ÀÄÓÌÐË ÔÃÍ?×â Ì? ÐæÐËÆ?ÁþÑ? ÄéÈ? ÀÄÓÌÈ? Ñ?ÀÕ×áÄé. MCacheRemovalAlgorithmÐÈÇÞ Ñ?Ñ?×á ÎÛÀýÈ?Ñ?ÐË Ë÷Ïû×ßÏ? Ñ?ÀÕ×â ÀÄÓÌÈ? ÌÁÕÓ×áÄé.

ÏÉÑ?

MCacheSize 700000

ÑæÐ×

MCacheSize À?ÐÊ MCacheMaxObjectSize Ñ?ÍÓÎþÇÞ Ñ?Ñ?×á À?ÊÈÄé ÔÏÎï ×áÄé.

ÀÅÄÙ×á Î?Îþ:  en  |  ja  |  ko 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.