1 <?xml version=
"1.0" encoding=
"EUC-KR"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" lang=
"ko" xml:
lang=
"ko"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8 <title>mod_cache - Apache HTTP Server
</title>
9 <link href=
"../style/css/manual.css" rel=
"stylesheet" media=
"all" type=
"text/css" title=
"Main stylesheet" />
10 <link href=
"../style/css/manual-loose-100pc.css" rel=
"alternate stylesheet" media=
"all" type=
"text/css" title=
"No Sidebar - Default font size" />
11 <link href=
"../style/css/manual-print.css" rel=
"stylesheet" media=
"print" type=
"text/css" />
12 <link href=
"../images/favicon.ico" rel=
"shortcut icon" /></head>
14 <div id=
"page-header">
15 <p class=
"menu"><a href=
"../mod/">¸ðµâ
</a> |
<a href=
"../mod/directives.html">Áö½Ã¾îµé
</a> |
<a href=
"../faq/">FAQ
</a> |
<a href=
"../glossary.html">¿ë¾î
</a> |
<a href=
"../sitemap.html">»çÀÌÆ®¸Ê
</a></p>
16 <p class=
"apache">Apache HTTP Server Version
2.3</p>
17 <img alt=
"" src=
"../images/feather.gif" /></div>
18 <div class=
"up"><a href=
"./"><img title=
"<-" alt=
"<-" src=
"../images/left.gif" /></a></div>
20 <a href=
"http://www.apache.org/">Apache
</a> > <a href=
"http://httpd.apache.org/">HTTP Server
</a> > <a href=
"http://httpd.apache.org/docs/">Documentation
</a> > <a href=
"../">Version
2.3</a> > <a href=
"./">¸ðµâ
</a></div>
21 <div id=
"page-content">
22 <div id=
"preamble"><h1>¾ÆÆÄÄ¡ ¸ðµâ mod_cache
</h1>
24 <p><span>°¡´ÉÇÑ ¾ð¾î:
</span><a href=
"../en/mod/mod_cache.html" hreflang=
"en" rel=
"alternate" title=
"English"> en
</a> |
25 <a href=
"../ja/mod/mod_cache.html" hreflang=
"ja" rel=
"alternate" title=
"Japanese"> ja
</a> |
26 <a href=
"../ko/mod/mod_cache.html" title=
"Korean"> ko
</a></p>
28 <div class=
"outofdate">ÀÌ ¹®¼´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù.
29 ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼¸¦ Âü°íÇϼ¼¿ä.
</div>
30 <table class=
"module"><tr><th><a href=
"module-dict.html#Description">¼³¸í:
</a></th><td>URI¸¦ Å°·Î »ç¿ëÇÏ¿© ³»¿ëÀ» ij½¬ÇÑ´Ù.
</td></tr>
31 <tr><th><a href=
"module-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
32 <tr><th><a href=
"module-dict.html#ModuleIdentifier">¸ðµâ¸í:
</a></th><td>cache_module
</td></tr>
33 <tr><th><a href=
"module-dict.html#SourceFile">¼Ò½ºÆÄÀÏ:
</a></th><td>mod_cache.c
</td></tr></table>
37 ÀÌ ¸ðµâÀº ½ÇÇèÀûÀÎ »óÅÂÀÌ´Ù. ¹®¼´Â ¾ÆÁ÷ ÀÛ¾÷ÁßÀÌ´Ù...
40 <p><code class=
"module"><a href=
"../mod/mod_cache.html">mod_cache
</a></code>´Â °°Àº ÄÄÇ»ÅÍ¿¡ ÀÖ´Â ³»¿ëÀ̳ª
41 ÇÁ·Ï½ÃµÈ ³»¿ëÀ» ij½¬ÇÒ ¼ö ÀÖ´Â
<a href=
"http://www.ietf.org/rfc/rfc2616.txt">RFC
2616</a>
42 ȣȯ HTTP ³»¿ëij½¬¸¦ ±¸ÇöÇÑ´Ù.
<code class=
"module"><a href=
"../mod/mod_cache.html">mod_cache
</a></code>¸¦
43 »ç¿ëÇÏ·Á¸é ÀúÀå°ü¸®¸ðµâ(storage management module)ÀÌ ÇÊ¿äÇÏ´Ù.
44 ±âº» ¾ÆÆÄÄ¡ ¹èÆ÷º»¿¡´Â µÎ°¡Áö ÀúÀå°ü¸®¸ðµâÀÌ ÀÖ´Ù:
</p>
46 <dt><code class=
"module"><a href=
"../mod/mod_disk_cache.html">mod_disk_cache
</a></code></dt>
47 <dd>´Â µð½ºÅ©±â¹Ý ÀúÀå°ü¸®ÀÚ¸¦ ±¸ÇöÇÑ´Ù.
</dd>
49 <dt><code class=
"module"><a href=
"../mod/mod_mem_cache.html">mod_mem_cache
</a></code></dt>
50 <dd>´Â ¸Þ¸ð¸®±â¹Ý ÀúÀå°ü¸®ÀÚ¸¦ ±¸ÇöÇÑ´Ù.
51 <code class=
"module"><a href=
"../mod/mod_mem_cache.html">mod_mem_cache
</a></code>´Â ÆÄÀϱâ¼úÀÚ¸¦ ij½¬Çϰųª
52 Èü(heap) °ø°£¿¡ °´Ã¼¸¦ ij½¬ÇÏ´Â µÎ°¡Áö ¹æ½ÄÁß ÇÑ°¡Áö ¹æ¹ýÀ¸·Î
53 µ¿ÀÛÇϵµ·Ï ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.
<code class=
"module"><a href=
"../mod/mod_mem_cache.html">mod_mem_cache
</a></code>´Â
54 ÀÚ½ÅÀÌ »ý¼ºÇÑ ³»¿ëÀ» ij½¬Çϰųª, (
<dfn>¿ªÇÁ·Ï½Ã(reverse proxy)
</dfn>·Î
55 ¾Ë·ÁÁø)
<code class=
"directive"><a href=
"../mod/mod_proxy.html#proxypass">ProxyPass
</a></code>¸¦
56 »ç¿ëÇÏ¿©
<code class=
"module"><a href=
"../mod/mod_proxy.html">mod_proxy
</a></code>¸¦ À§ÇØ µÞ´Ü ¼¹ö³»¿ëÀ»
60 <p>³»¿ëÀ» URI¸¦ Åä´ë·Î ¸¸µç Å°·Î ij½¬¿¡ ÀúÀåÇÏ°í °¡Á®¿Â´Ù.
61 Á¢±Ùº¸È£°¡ µÈ ³»¿ëÀº ij½¬ÇÏÁö¾Ê´Â´Ù.
</p>
63 <div id=
"quickview"><h3 class=
"directives">Áö½Ã¾îµé
</h3>
65 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cachedefaultexpire">CacheDefaultExpire
</a></li>
66 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cachedisable">CacheDisable
</a></li>
67 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cacheenable">CacheEnable
</a></li>
68 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cacheignorecachecontrol">CacheIgnoreCacheControl
</a></li>
69 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cacheignoreheaders">CacheIgnoreHeaders
</a></li>
70 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cacheignorenolastmod">CacheIgnoreNoLastMod
</a></li>
71 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cachelastmodifiedfactor">CacheLastModifiedFactor
</a></li>
72 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#cachemaxexpire">CacheMaxExpire
</a></li>
76 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#related">°ü·ÃµÈ ¸ðµâ°ú Áö½Ã¾î
</a></li>
77 <li><img alt=
"" src=
"../images/down.gif" /> <a href=
"#sampleconf">¼³Á¤¿¹
</a></li>
79 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
81 <h2><a name=
"related" id=
"related">°ü·ÃµÈ ¸ðµâ°ú Áö½Ã¾î
</a></h2>
82 <table class=
"related"><tr><th>°ü·ÃµÈ ¸ðµâ
</th><th>°ü·ÃµÈ Áö½Ã¾î
</th></tr><tr><td><ul><li><code class=
"module"><a href=
"../mod/mod_disk_cache.html">mod_disk_cache
</a></code></li><li><code class=
"module"><a href=
"../mod/mod_mem_cache.html">mod_mem_cache
</a></code></li></ul></td><td><ul><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cacheroot">CacheRoot
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachesize">CacheSize
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachegcinterval">CacheGcInterval
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachedirlevels">CacheDirLevels
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachedirlength">CacheDirLength
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cacheexpirycheck">CacheExpiryCheck
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cacheminfilesize">CacheMinFileSize
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachemaxfilesize">CacheMaxFileSize
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachetimemargin">CacheTimeMargin
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachegcdaily">CacheGcDaily
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachegcunused">CacheGcUnused
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachegcclean">CacheGcClean
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_disk_cache.html#cachegcmemusage">CacheGcMemUsage
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_mem_cache.html#mcachesize">MCacheSize
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_mem_cache.html#mcachemaxobjectcount">MCacheMaxObjectCount
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_mem_cache.html#mcacheminobjectsize">MCacheMinObjectSize
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_mem_cache.html#mcachemaxobjectsize">MCacheMaxObjectSize
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_mem_cache.html#mcacheremovalalgorithm">MCacheRemovalAlgorithm
</a></code></li><li><code class=
"directive"><a href=
"../mod/mod_mem_cache.html#mcachemaxstreamingbuffer">MCacheMaxStreamingBuffer
</a></code></li></ul></td></tr></table>
83 </div><div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
85 <h2><a name=
"sampleconf" id=
"sampleconf">¼³Á¤¿¹
</a></h2>
86 <div class=
"example"><h3>Sample httpd.conf
</h3><p><code>
88 # ¿¹Á¦ ij½¬ ¼³Á¤
<br />
90 LoadModule cache_module modules/mod_cache.so
<br />
92 <IfModule mod_cache.c
><br />
94 #LoadModule disk_cache_module modules/mod_disk_cache.so
<br />
95 <IfModule mod_disk_cache.c
><br />
97 CacheRoot c:/cacheroot
<br />
99 CacheEnable disk /
<br />
100 CacheDirLevels
5<br />
101 CacheDirLength
3<br />
103 </IfModule
> <br />
105 LoadModule mem_cache_module modules/mod_mem_cache.so
<br />
106 <IfModule mod_mem_cache.c
><br />
107 <span class=
"indent">
108 CacheEnable mem /
<br />
109 MCacheSize
4096<br />
110 MCacheMaxObjectCount
100<br />
111 MCacheMinObjectSize
1<br />
112 MCacheMaxObjectSize
2048<br />
114 </IfModule
><br />
119 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
120 <div class=
"directive-section"><h2><a name=
"CacheDefaultExpire" id=
"CacheDefaultExpire">CacheDefaultExpire
</a> <a name=
"cachedefaultexpire" id=
"cachedefaultexpire">Áö½Ã¾î
</a></h2>
121 <table class=
"directive">
122 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>¸¸±â½Ã°£À» ÁöÁ¤ÇÏÁö¾ÊÀº ¹®¼¸¦ ij½¬ÇÒ ±âº» ±â°£.
</td></tr>
123 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheDefaultExpire
<var>seconds
</var></code></td></tr>
124 <tr><th><a href=
"directive-dict.html#Default">±âº»°ª:
</a></th><td><code>CacheDefaultExpire
3600 (one hour)
</code></td></tr>
125 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
126 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
127 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
129 <p><code class=
"directive">CacheDefaultExpire
</code> Áö½Ã¾î´Â ¹®¼ÀÇ
130 ¸¸±â½Ã°£°ú ÃÖ±Ù¼öÁ¤½Ã°£ÀÌ ¾ø´Â °æ¿ì ¹®¼¸¦ ij½¬ÇÒ ÃÊ´ÜÀ§
131 ±âº» ½Ã°£À» ÁöÁ¤ÇÑ´Ù.
<code class=
"directive">CacheMaxExpire
</code>·Î
132 ÁöÁ¤ÇÑ °ªÀÌ ÀÌ ¼³Á¤À» ¹«½ÃÇÏÁö
<em>¾Ê´Â´Ù
</em>.
</p>
134 <div class=
"example"><p><code>
135 CacheDefaultExpire
86400
139 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
140 <div class=
"directive-section"><h2><a name=
"CacheDisable" id=
"CacheDisable">CacheDisable
</a> <a name=
"cachedisable" id=
"cachedisable">Áö½Ã¾î
</a></h2>
141 <table class=
"directive">
142 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>ƯÁ¤ URLÀ» ij½¬ÇÏÁö ¾Ê´Â´Ù
</td></tr>
143 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheDisable
<var> url-string
</var></code></td></tr>
144 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
145 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
146 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
148 <p><code class=
"directive">CacheDisable
</code> Áö½Ã¾î¸¦ »ç¿ëÇϸé
149 <code class=
"module"><a href=
"../mod/mod_cache.html">mod_cache
</a></code>°¡
<var>url-string
</var> ÀÌÇÏÀÇ
150 urlµéÀ» ij½¬ÇÏÁö
<em>¾Ê´Â´Ù
</em>.
</p>
152 <div class=
"example"><h3>¿¹Á¦
</h3><p><code>
153 CacheDisable /local_files
157 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
158 <div class=
"directive-section"><h2><a name=
"CacheEnable" id=
"CacheEnable">CacheEnable
</a> <a name=
"cacheenable" id=
"cacheenable">Áö½Ã¾î
</a></h2>
159 <table class=
"directive">
160 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>ÁöÁ¤ÇÑ ÀúÀå°ü¸®ÀÚ¸¦ »ç¿ëÇÏ¿© ÁöÁ¤ÇÑ URLÀ» ij½¬ÇÑ´Ù
</td></tr>
161 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheEnable
<var>cache_type
</var> <var>url-string
</var></code></td></tr>
162 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
163 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
164 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
166 <p><code class=
"directive">CacheEnable
</code> Áö½Ã¾î¸¦ »ç¿ëÇϸé
167 <code class=
"module"><a href=
"../mod/mod_cache.html">mod_cache
</a></code>°¡
<var>url-string
</var> ÀÌÇÏ
168 urlµéÀ» ij½¬ÇÑ´Ù. ij½¬ ÀúÀå°ü¸®ÀÚ´Â
<var>cache_type
</var>
169 ¾Æ±Ô¸ÕÆ®·Î ÁöÁ¤ÇÑ´Ù.
<var>cache_type
</var> <code>mem
</code>˼
170 <code class=
"module"><a href=
"../mod/mod_mem_cache.html">mod_mem_cache
</a></code>°¡ ±¸ÇöÇÏ´Â ¸Þ¸ð¸®±â¹Ý
171 ÀúÀå°ü¸®ÀÚ¸¦ »ç¿ëÇÑ´Ù.
<var>cache_type
</var> <code>disk
</code>´Â
172 <code class=
"module"><a href=
"../mod/mod_disk_cache.html">mod_disk_cache
</a></code>°¡ ±¸ÇöÇÏ´Â µð½ºÅ©±â¹Ý
173 ÀúÀå°ü¸®ÀÚ¸¦ »ç¿ëÇÑ´Ù.
<var>cache_type
</var> <code>fd
</code>´Â
174 <code class=
"module"><a href=
"../mod/mod_mem_cache.html">mod_mem_cache
</a></code>°¡ ±¸ÇöÇÏ´Â ÆÄÀϱâ¼úÀÚ Ä³½¬¸¦
176 <p>(¾Æ·¡ ¿¹¿Í °°ÀÌ) URL °ø°£ÀÌ ´Ù¸¥
177 <code class=
"directive">CacheEnable
</code> Áö½Ã¾î¿Í °ãÄ¡¸é ½ÇÁ¦·Î
178 ÇÑ ÀúÀå°ü¸®ÀÚ°¡ ¿äûÀ» ó¸®ÇÒ¶§±îÁö µÎ ÀúÀå°ü¸®ÀÚ¸¦ ¸ðµÎ
179 ½ÇÇàÇÑ´Ù. ¼³Á¤ÆÄÀÏ¿¡¼
<code class=
"directive">CacheEnable
</code>
180 Áö½Ã¾îÀÇ ¼ø¼´ë·Î ÀúÀå°ü¸®ÀÚ°¡ ½ÇÇàµÈ´Ù.
</p>
182 <div class=
"example"><p><code>
183 CacheEnable mem /manual
<br />
184 CacheEnable fd /images
<br />
185 CacheEnable disk /
<br />
189 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
190 <div class=
"directive-section"><h2><a name=
"CacheIgnoreCacheControl" id=
"CacheIgnoreCacheControl">CacheIgnoreCacheControl
</a> <a name=
"cacheignorecachecontrol" id=
"cacheignorecachecontrol">Áö½Ã¾î
</a></h2>
191 <table class=
"directive">
192 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>Ŭ¶óÀ̾ðÆ®°¡ ij½¬ÇÏÁö¾Ê´Â ³»¿ëÀ» ¿äûÇÔÀ» ¹«½ÃÇÑ´Ù.
</td></tr>
193 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheIgnoreCacheControl On|Off
</code></td></tr>
194 <tr><th><a href=
"directive-dict.html#Default">±âº»°ª:
</a></th><td><code>CacheIgnoreCacheControl Off
</code></td></tr>
195 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
196 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
197 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
199 <p>º¸Åë no-cache³ª no-store Çì´õ°ªÀ» °¡Áø ¹®¼´Â ij½¬¿¡
200 ÀúÀåÇÏÁö¾Ê´Â´Ù.
<code class=
"directive">CacheIgnoreCacheControl
</code>
201 Áö½Ã¾î´Â ÀÌ·± ÇൿÀ» º¯°æÇÑ´Ù.
202 <code class=
"directive">CacheIgnoreCacheControl
</code> OnÀ» »ç¿ëÇϸé
203 ¼¹ö´Â ¹®¼¿¡ no-cache³ª no-store Çì´õ°ªÀÌ À־ ¹®¼¸¦
204 ij½¬ÇÑ´Ù. ÀÎÁõÀÌ ÇÊ¿äÇÑ ¹®¼´Â
<em>Àý´ë·Î
</em> ij½¬ÇÏÁö
207 <div class=
"example"><p><code>
208 CacheIgnoreCacheControl On
212 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
213 <div class=
"directive-section"><h2><a name=
"CacheIgnoreHeaders" id=
"CacheIgnoreHeaders">CacheIgnoreHeaders
</a> <a name=
"cacheignoreheaders" id=
"cacheignoreheaders">Áö½Ã¾î
</a></h2>
214 <table class=
"directive">
215 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>ij½¬¿¡ ÁöÁ¤ÇÑ HTTP Çì´õ(µé)¸¦ ÀúÀåÇÏÁö ¾Ê´Â´Ù
217 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheIgnoreHeaders
<var>header-string
</var> [
<var>header-string
</var>] ...
</code></td></tr>
218 <tr><th><a href=
"directive-dict.html#Default">±âº»°ª:
</a></th><td><code>CacheIgnoreHeaders None
</code></td></tr>
219 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
220 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
221 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
223 <p>RFC
2616¿¡ µû¸£¸é È©°£(hop-by-hop) HTTP Çì´õ´Â ij½¬¿¡
224 ÀúÀåÇÏÁö ¾Ê´Â´Ù. È©°£ HTTP Çì´õ¿¡´Â ´ÙÀ½°ú °°Àº °ÍÀÌ ÀÖÀ¸¸ç,
225 <code class=
"directive">CacheIgnoreHeaders
</code> ¼³Á¤°ú °ü°è¾øÀÌ
226 <em>¾î¶²
</em> °æ¿ì¿¡µµ ij½¬¿¡ ÀúÀåµÇÁö ¾Ê´Â´Ù.
</p>
229 <li><code>Connection
</code></li>
230 <li><code>Keep-Alive
</code></li>
231 <li><code>Proxy-Authenticate
</code></li>
232 <li><code>Proxy-Authorization
</code></li>
233 <li><code>TE
</code></li>
234 <li><code>Trailers
</code></li>
235 <li><code>Transfer-Encoding
</code></li>
236 <li><code>Upgrade
</code></li>
239 <p><code class=
"directive">CacheIgnoreHeaders
</code>´Â ij½¬¿¡ ÀúÀåÇϸé
240 ¾ÈµÇ´Â HTTP Çì´õ¸¦ Ãß°¡·Î ÁöÁ¤ÇÑ´Ù. ¿¹¸¦ µé¾î, ÄíÅ°(cookie)¸¦
241 ij½¬¿¡ ÀúÀåÇÏ¸é ¾ÈµÇ´Â °æ¿ì°¡ ÀÖ´Ù.
</p>
243 <p><code class=
"directive">CacheIgnoreHeaders
</code>´Â ij½¬¿¡ ÀúÀåÇÏÁö
244 ¾ÊÀ» HTTP Çì´õµéÀ» °ø¹éÀ¸·Î ±¸ºÐÇÑ ¸ñ·ÏÀ» ¹Þ´Â´Ù. (RFC
2616¿¡
245 µû¶ó) ij½¬¿¡ È©°£ Çì´õ¸¸ ÀúÀåÇÏÁö ¾ÊÀ¸·Á¸é,
246 <code class=
"directive">CacheIgnoreHeaders
</code>¸¦
247 <code>None
</code>À¸·Î ¼³Á¤ÇÑ´Ù.
</p>
249 <div class=
"example"><h3>¿¹Á¦
1</h3><p><code>
250 CacheIgnoreHeaders Set-Cookie
253 <div class=
"example"><h3>¿¹Á¦
2</h3><p><code>
254 CacheIgnoreHeaders None
257 <div class=
"warning"><h3>°æ°í:
</h3>
258 <code class=
"directive">CacheIgnoreHeaders
</code> ¼³Á¤À» »ç¿ëÇÏ¿©
259 <code>Expires
</code> °°ÀÌ Ä³½¬ °ü¸®¿¡ ÇÊ¿äÇÑ Çì´õ¸¦ ÀúÀåÇÏÁö
260 ¾ÊÀ¸¸é, mod_cache´Â ºñÁ¤»óÀûÀ¸·Î µ¿ÀÛÇÑ´Ù.
264 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
265 <div class=
"directive-section"><h2><a name=
"CacheIgnoreNoLastMod" id=
"CacheIgnoreNoLastMod">CacheIgnoreNoLastMod
</a> <a name=
"cacheignorenolastmod" id=
"cacheignorenolastmod">Áö½Ã¾î
</a></h2>
266 <table class=
"directive">
267 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>ÀÀ´ä¿¡ Last Modified Çì´õ°¡ ¾ø´Ù´Â »ç½ÇÀ» ¹«½ÃÇÑ´Ù.
</td></tr>
268 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheIgnoreNoLastMod On|Off
</code></td></tr>
269 <tr><th><a href=
"directive-dict.html#Default">±âº»°ª:
</a></th><td><code>CacheIgnoreNoLastMod Off
</code></td></tr>
270 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
271 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
272 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
274 <p>º¸Åë ÃÖ±Ù¼öÁ¤ÀÏÀÌ ¾ø´Â ¹®¼´Â ij½¬ÇÏÁö ¾Ê´Â´Ù. ¾î¶² °æ¿ì
275 ÃÖ±Ù¼öÁ¤ÀÏÀ» (¿¹¸¦ µé¾î
<code class=
"module"><a href=
"../mod/mod_include.html">mod_include
</a></code> ó¸®Áß¿¡)
276 »©°Å³ª óÀ½ºÎÅÍ ¾ø¾úÀ» ¼ö°¡ ÀÖ´Ù.
277 <code class=
"directive">CacheIgnoreNoLastMod
</code> Áö½Ã¾î´Â ÃÖ±Ù¼öÁ¤ÀÏÀÌ
278 ¾ø´Â ¹®¼µµ ¹Ýµå½Ã ij½¬Çϵµ·Ï ¸¸µç´Ù. ¹®¼¿¡ ÃÖ±Ù¼öÁ¤ÀÏ°ú
279 ¸¸±â½Ã°£ÀÌ ¾ø´Â °æ¿ì
<code class=
"directive">CacheDefaultExpire
</code>
280 Áö½Ã¾î·Î ÁöÁ¤ÇÑ °ªÀ» ¸¸±â½Ã°£À¸·Î »ç¿ëÇÑ´Ù.
</p>
282 <div class=
"example"><p><code>
283 CacheIgnoreNoLastMod On
287 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
288 <div class=
"directive-section"><h2><a name=
"CacheLastModifiedFactor" id=
"CacheLastModifiedFactor">CacheLastModifiedFactor
</a> <a name=
"cachelastmodifiedfactor" id=
"cachelastmodifiedfactor">Áö½Ã¾î
</a></h2>
289 <table class=
"directive">
290 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>LastModified ½Ã°£À¸·Î ¸¸±â½Ã°£À» °è»êÇϴµ¥ »ç¿ëÇÏ´Â
292 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheLastModifiedFactor
<var>float
</var></code></td></tr>
293 <tr><th><a href=
"directive-dict.html#Default">±âº»°ª:
</a></th><td><code>CacheLastModifiedFactor
0.1</code></td></tr>
294 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
295 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
296 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
298 <p>¹®¼¿¡ ¸¸±â½Ã°£Àº ¾øÁö¸¸ ÃÖ±Ù¼öÁ¤ÀÏÀÌ ÀÖ´Â °æ¿ì ÃÖ±Ù¼öÁ¤ÀÏ
299 ÀÌÈÄ Áö³ ½Ã°£À¸·Î ¸¸±â½Ã°£À» °è»êÇÑ´Ù.
300 <code class=
"directive">CacheLastModifiedFactor
</code> Áö½Ã¾î´Â
301 ¸¸±â½Ã°£À» °è»êÇÏ´Â ´ÙÀ½ °ø½Ä¿¡¼ »ç¿ëÇÒ
<var>factor
</var>¸¦
304 <code>expiry-period = time-since-last-modified-date *
<var>factor
</var>
305 expiry-date = current-date + expiry-period
</code>
307 ¿¹¸¦ µé¾î, ¹®¼°¡
10 ½Ã°£ Àü¿¡ ¸¶Áö¸·À¸·Î ¼öÁ¤µÇ¾ú°í
<var>factor
</var>°¡
308 0.1À̶ó¸é ¸¸±â±â°£Àº
10*
01 =
1 ½Ã°£ÀÌ µÈ´Ù. ÇöÀç ½Ã°£ÀÌ
309 3:
00pmÀ̶ó¸é ¸¸±â½Ã°£Àº
3:
00pm +
1½Ã°£ =
4:
00pmÀÌ´Ù.
311 ¸¸±â±â°£ÀÌ
<code class=
"directive">CacheMaxExpire
</code> º¸´Ù ±æ´Ù¸é
312 <code class=
"directive">CacheMaxExpire
</code>¸¦ »ç¿ëÇÑ´Ù.
</p>
314 <div class=
"example"><p><code>
315 CacheLastModifiedFactor
0.5
319 <div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
320 <div class=
"directive-section"><h2><a name=
"CacheMaxExpire" id=
"CacheMaxExpire">CacheMaxExpire
</a> <a name=
"cachemaxexpire" id=
"cachemaxexpire">Áö½Ã¾î
</a></h2>
321 <table class=
"directive">
322 <tr><th><a href=
"directive-dict.html#Description">¼³¸í:
</a></th><td>¹®¼¸¦ ij½¬ÇÏ´Â ÃÊ´ÜÀ§ ÃÖ´ë½Ã°£
</td></tr>
323 <tr><th><a href=
"directive-dict.html#Syntax">¹®¹ý:
</a></th><td><code>CacheMaxExpire
<var>seconds
</var></code></td></tr>
324 <tr><th><a href=
"directive-dict.html#Default">±âº»°ª:
</a></th><td><code>CacheMaxExpire
86400 (ÇÏ·ç)
</code></td></tr>
325 <tr><th><a href=
"directive-dict.html#Context">»ç¿ëÀå¼Ò:
</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®
</td></tr>
326 <tr><th><a href=
"directive-dict.html#Status">»óÅÂ:
</a></th><td>Experimental
</td></tr>
327 <tr><th><a href=
"directive-dict.html#Module">¸ðµâ:
</a></th><td>mod_cache
</td></tr>
329 <p><code class=
"directive">CacheMaxExpire
</code> Áö½Ã¾î´Â ½ÇÁ¦ ¼¹ö¸¦
330 °Ë»çÇÏÁö¾Ê°í ij½¬°¡´ÉÇÑ HTTP ¹®¼¸¦ À¯ÁöÇÒ ¼ö ÀÖ´Â ÃÊ´ÜÀ§
331 ÃÖ´ë½Ã°£À» ÁöÁ¤ÇÑ´Ù. Áï, ¹®¼´Â ÃÖ´ëÇÑ ÀÌ ¼³Á¤°ª¸¸Å ¿À·¡µÇ¾ú´Ù.
332 ¹®¼°¡ ¸¸±â½Ã°£À» ÁöÁ¤ÇÏ¿©µµ ÀÌ ÃÖ´ë°ªÀ» ÁöŲ´Ù.
</p>
334 <div class=
"example"><p><code>
335 CacheMaxExpire
604800
340 <div class=
"bottomlang">
341 <p><span>°¡´ÉÇÑ ¾ð¾î:
</span><a href=
"../en/mod/mod_cache.html" hreflang=
"en" rel=
"alternate" title=
"English"> en
</a> |
342 <a href=
"../ja/mod/mod_cache.html" hreflang=
"ja" rel=
"alternate" title=
"Japanese"> ja
</a> |
343 <a href=
"../ko/mod/mod_cache.html" title=
"Korean"> ko
</a></p>
344 </div><div id=
"footer">
345 <p class=
"apache">Copyright
2009 The Apache Software Foundation.
<br />Licensed under the
<a href=
"http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
</p>
346 <p class=
"menu"><a href=
"../mod/">¸ðµâ
</a> |
<a href=
"../mod/directives.html">Áö½Ã¾îµé
</a> |
<a href=
"../faq/">FAQ
</a> |
<a href=
"../glossary.html">¿ë¾î
</a> |
<a href=
"../sitemap.html">»çÀÌÆ®¸Ê
</a></p></div>