Apache HTTP Server Version 2.2
This document refers to a legacy release (2.2) of Apache httpd. The active release (2.4) is documented here. If you have not already upgraded, please follow this link for more information.
You may follow this link to go to the current version of this document.
¼³¸í: | Content cache storage manager keyed to URIs |
---|---|
»óÅÂ: | Experimental |
¸ðµâ¸í: | disk_cache_module |
¼Ò½ºÆÄÀÏ: | mod_disk_cache.c |
mod_disk_cache
´Â µð½ºÅ©±â¹Ý ÀúÀå°ü¸®ÀÚ¸¦
±¸ÇöÇÑ´Ù. ÀÌ ¸ðµâÀº ±âº»ÀûÀ¸·Î mod_proxy
¿Í
°°ÀÌ »ç¿ëÇÑ´Ù.
³»¿ëÀ» URI¸¦ Åä´ë·Î ¸¸µç Å°·Î ij½¬¿¡ ÀúÀåÇÏ°í °¡Á®¿Â´Ù. Á¢±Ùº¸È£°¡ µÈ ³»¿ëÀº ij½¬ÇÏÁö¾Ê´Â´Ù.
mod_disk_cache
´Â
mod_cache
°¡ ÇÊ¿äÇÏ´Ù.
¼³¸í: | ÇÏÀ§µð·ºÅ丮¸íÀÇ ¹®ÀÚ°³¼ö |
---|---|
¹®¹ý: | CacheDirLength length |
±âº»°ª: | CacheDirLength 2 |
»ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ® |
»óÅÂ: | Experimental |
¸ðµâ: | mod_disk_cache |
CacheDirLength
Áö½Ã¾î´Â ij½¬
°èÃþ±¸Á¶¿¡¼ °¢ ÇÏÀ§µð·ºÅ丮¸íÀÇ ¹®ÀÚ¼ö¸¦ ÁöÁ¤ÇÑ´Ù.
CacheDirLevels
¿Í
CacheDirLength
¸¦ °öÇÏ¿© 20 º¸´Ù
Å©¸é ¾ÈµÈ´Ù.
CacheDirLength 4
¼³¸í: | ij½¬ÀÇ ÇÏÀ§µð·ºÅ丮 ±íÀÌ. |
---|---|
¹®¹ý: | CacheDirLevels levels |
±âº»°ª: | CacheDirLevels 3 |
»ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ® |
»óÅÂ: | Experimental |
¸ðµâ: | mod_disk_cache |
CacheDirLevels
Áö½Ã¾î´Â ij½¬ÀÇ
ÇÏÀ§µð·ºÅ丮 ±íÀ̸¦ ÁöÁ¤ÇÑ´Ù. ij½¬µÈ ÀڷḦ CacheRoot
µð·ºÅ丮
¾Æ·¡ ÀÌ ±íÀ̱îÁö ÀúÀåÇÑ´Ù.
CacheDirLevels
¿Í CacheDirLength
¸¦
°öÇÏ¿© 20 º¸´Ù Å©¸é ¾ÈµÈ´Ù.
CacheDirLevels 5
¼³¸í: | ij½¬¿¡ ÀúÀåÇÒ ¹®¼ÀÇ ÃÖ´ëÅ©±â (¹ÙÀÌÆ® ´ÜÀ§) |
---|---|
¹®¹ý: | CacheMaxFileSize bytes |
±âº»°ª: | CacheMaxFileSize 1000000 |
»ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ® |
»óÅÂ: | Experimental |
¸ðµâ: | mod_disk_cache |
CacheMaxFileSize
Áö½Ã¾î´Â ij½¬¿¡
ÀúÀåÇÒ ¹®¼ÀÇ ÃÖ´ëÅ©±â¸¦ ¹ÙÀÌÆ® ´ÜÀ§·Î ÁöÁ¤ÇÑ´Ù.
CacheMaxFileSize 64000
¼³¸í: | ij½¬¿¡ ÀúÀåÇÒ ¹®¼ÀÇ ÃÖ¼ÒÅ©±â (¹ÙÀÌÆ® ´ÜÀ§) |
---|---|
¹®¹ý: | CacheMinFileSize bytes |
±âº»°ª: | CacheMinFileSize 1 |
»ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ® |
»óÅÂ: | Experimental |
¸ðµâ: | mod_disk_cache |
CacheMinFileSize
Áö½Ã¾î´Â ij½¬¿¡
ÀúÀåÇÒ ¹®¼ÀÇ ÃÖ¼ÒÅ©±â¸¦ ¹ÙÀÌÆ® ´ÜÀ§·Î ÁöÁ¤ÇÑ´Ù.
CacheMinFileSize 64
¼³¸í: | ij½¬ ÆÄÀÏÀ» ÀúÀåÇÒ µð·ºÅ丮 root |
---|---|
¹®¹ý: | CacheRoot directory |
»ç¿ëÀå¼Ò: | ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ® |
»óÅÂ: | Experimental |
¸ðµâ: | mod_disk_cache |
CacheRoot
Áö½Ã¾î´Â µð½ºÅ©¿¡¼
ij½¬ ÆÄÀÏÀ» ÀúÀåÇÒ µð·ºÅ丮¸¦ ÁöÁ¤ÇÑ´Ù. mod_disk_cache
¸ðµâÀ» ¾ÆÆÄÄ¡ ¼¹ö¿Í °°ÀÌ ÄÄÆÄÀÏÇÏ¿´°Å³ª
ÀоîµéÀÎ °æ¿ì ¹Ýµå½Ã ÀÌ Áö½Ã¾î¸¦ Á¤ÀÇÇØ¾ß ÇÑ´Ù.
CacheRoot
¿¡ °ªÀÌ ¾øÀ¸¸é ¼³Á¤ÆÄÀÏÀ»
ó¸®ÇÏÁö ¾Ê´Â´Ù. CacheDirLevels
¿Í CacheDirLength
Áö½Ã¾î´Â
ÀÌ Áö½Ã¾î·Î ÁöÁ¤ÇÑ root µð·ºÅ丮ÀÇ ÇÏÀ§µð·ºÅ丮 ±¸Á¶¸¦ Áö½ÃÇÑ´Ù.
CacheRoot c:/cacheroot