1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443
|
<?xml version="1.0" encoding="EUC-JP"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_cache - Apache HTTP </title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<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>
<p class="apache">Apache HTTP С 2.2</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP </a> > <a href="http://httpd.apache.org/docs/">ɥơ</a> > <a href="../">С 2.2</a> > <a href="./">⥸塼</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache ⥸塼 mod_cache</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../en/mod/mod_cache.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_cache.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_cache.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div>
<div class="outofdate">This translation may be out of date. Check the
English version for recent changes.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">:</a></th><td>URI ˤƥĤΥå</td></tr>
<tr><th><a href="module-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">⥸塼뼱̻:</a></th><td>cache_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">ե:</a></th><td>mod_cache.c</td></tr></table>
<h3></h3>
<div class="warning">
ϼ¸Ūʥ⥸塼ǤʸޤȯǤ...
</div>
<p><code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> ϥΥƥĤץ줿
ƥĤå夹뤿˻Ȥ <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a>
HTTP ƥĥåƤޤ<code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>
ưˤϥȥ졼⥸塼뤬ɬפǤɸ
Apache ۤˤĥȥ졼⥸塼뤬ޤޤƤޤ:</p>
<dl>
<dt><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code></dt>
<dd>ǥѤȥ졼Ƥޤ</dd>
<dt><code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code></dt>
<dd>Ѥȥ졼Ƥޤ
<code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> ϼĤΥ⡼ɤΤɤ餫ư
褦Ǥޤ: ץƤե뵭һҤå夹⡼ɤ
ҡǤΥ֥ȤμΤå⡼ɤǤ
<code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> ϥ륳ƥĤ䡢
<code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code>
<code class="directive"><a href="../mod/mod_proxy.html#proxypass">ProxyPass</a></code> ȤäꤵƤ
Ȥ (Ĥޤ<dfn>Сץ</dfn> Ǥ) ХåɥФ
ƥĤå夹Τ˻Ȥޤ</dd>
</dl>
<p>ƥĤΥåؤ¸ȼ URI ˴ŤȤޤ
ݸΤƤ륳ƥĤϥå夵ޤ</p>
</div>
<div id="quickview"><h3 class="directives">ǥ쥯ƥ</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#cachedefaultexpire">CacheDefaultExpire</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cachedisable">CacheDisable</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cacheenable">CacheEnable</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cacheignoreheaders">CacheIgnoreHeaders</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cacheignorenolastmod">CacheIgnoreNoLastMod</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cachemaxexpire">CacheMaxExpire</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cachestorenostore">CacheStoreNoStore</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cachestoreprivate">CacheStorePrivate</a></li>
</ul>
<h3>ȥԥå</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#related">Ϣ⥸塼ȥǥ쥯ƥ</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#sampleconf">ץ</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="related" id="related">Ϣ⥸塼ȥǥ쥯ƥ</a></h2>
<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#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#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_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>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="sampleconf" id="sampleconf">ץ</a></h2>
<div class="example"><h3>Sample httpd.conf</h3><p><code>
#<br />
# Sample Cache Configuration<br />
#<br />
LoadModule cache_module modules/mod_cache.so<br />
<br />
<IfModule mod_cache.c><br />
<span class="indent">
#LoadModule disk_cache_module modules/mod_disk_cache.so<br />
# If you want to use mod_disk_cache instead of mod_mem_cache,
# uncomment the line above and comment out the LoadModule line below.
<IfModule mod_disk_cache.c><br />
<span class="indent">
CacheRoot c:/cacheroot<br />
CacheEnable disk /<br />
CacheDirLevels 5<br />
CacheDirLength 3<br />
</span>
</IfModule> <br />
<br />
LoadModule mem_cache_module modules/mod_mem_cache.so<br />
<IfModule mod_mem_cache.c><br />
<span class="indent">
CacheEnable mem /<br />
MCacheSize 4096<br />
MCacheMaxObjectCount 100<br />
MCacheMinObjectSize 1<br />
MCacheMaxObjectSize 2048<br />
</span>
</IfModule><br />
</span>
</IfModule>
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheDefaultExpire" id="CacheDefaultExpire">CacheDefaultExpire</a> <a name="cachedefaultexpire" id="cachedefaultexpire">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>ꤵƤʤȤ˥ɥȤå夹ǥեȤδ</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheDefaultExpire <var>seconds</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheDefaultExpire 3600 (1)</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p><code class="directive">CacheDefaultExpire</code> ǥ쥯ƥ֤ϡɥȤ
ͭ (expiry) ǽ (last-modified) ꤵƤʤ
ǥեȤλ֤ꤷޤ<code class="directive">CacheMaxExpire</code>
ǥ쥯ƥ֤ǻꤵ줿ͤϤ<em>ޤ</em></p>
<div class="example"><p><code>
CacheDefaultExpire 86400
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheDisable" id="CacheDisable">CacheDisable</a> <a name="cachedisable" id="cachedisable">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td> URL å夷ʤ</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheDisable <var> url-string</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p><code class="directive">CacheDisable</code> ǥ쥯ƥ֤
<code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> ⥸塼뤬 <var>url-string</var> ʲ
URL å<em>ʤ</em>褦ˤޤ</p>
<div class="example"><h3></h3><p><code>
CacheDisable /local_files
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheEnable" id="CacheEnable">CacheEnable</a> <a name="cacheenable" id="cacheenable">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>ꤷȥ졼ȤäƤΥåͭˤ</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheEnable <var>cache_type</var> <var>url-string</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p><code class="directive">CacheEnable</code> ǥ쥯ƥ֤ <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>
⥸塼뤬 <var>url-string</var> ʲ URL å夹褦ˤޤ
å她ȥ졼 <var>cache_type</var> ǻꤷޤ
<var>cache_type</var> <code> mem</code> ǡ
<code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> ǼƤȤäȥ졼
Ȥ褦 <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> ˻ؼޤ
<var>cache_type</var> <code>disk</code> ǡ
<code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> ǼƤǥȤäȥ졼
Ȥ褦 <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> ˻ؼޤ
<var>cache_type</var> <code>fd</code> <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>
<code class="module"><a href="../mod/mod_mem_cache.html">mod_mem_cache</a></code> ˤƤե뵭һҤ
åȤ褦˻ؼޤ</p>
<p>(Τ褦) <code class="directive">CacheEnable</code> ǥ쥯ƥ֤
URL ֤ʣƤȤϡ륹ȥ졼˻ơ
ºݤ˥ꥯȤνǤȡǽޤ
ȥ졼¹Ԥ֤ե
<code class="directive">CacheEnable</code> ν֤ˤꤵޤ</p>
<div class="example"><p><code>
CacheEnable mem /manual<br />
CacheEnable fd /images<br />
CacheEnable disk /<br />
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheIgnoreCacheControl" id="CacheIgnoreCacheControl">CacheIgnoreCacheControl</a> <a name="cacheignorecachecontrol" id="cacheignorecachecontrol">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>å夵Ƥ륳ƥĤ֤ʤ褦˥饤Ȥ
ꥯȤƤ̵뤹</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheIgnoreCacheControl On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheIgnoreCacheControl Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p>Cache-Control: no-cache إå Pragma: no-store إåΤꥯȤ
ФƤϡ̾省åȤޤ<code class="directive">CacheIgnoreCacheControl</code>
ǥ쥯ƥ֤ȤȡưǤޤ
<code class="directive">CacheIgnoreCacheControl</code> On Ȥȡ
ꥯȤ no-cache ȤͤäƤ⡢åȤäƥɥȤ
֤褦ˤʤޤǧڤɬפȤɥȤ<em>褷</em>
å夵ޤ</p>
<div class="example"><p><code>
CacheIgnoreCacheControl On
</code></p></div>
<div class="warning"><h3>ٹ</h3>
Υǥ쥯ƥ֤Ȥȡɥȼ˥åȤʤ褦
饤ȤꥯȤƤˤ⤫餺å
Ȥ褦ˤʤޤη̡
ŤƥĤ³뤳ȤˤʤäƤޤ⤷ޤ
</div>
<h3></h3>
<ul>
<li><code class="directive"><a href="#cachestoreprivate">CacheStorePrivate</a></code></li>
<li><code class="directive"><a href="#cachestorenostore">CacheStoreNoStore</a></code></li>
</ul>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheIgnoreHeaders" id="CacheIgnoreHeaders">CacheIgnoreHeaders</a> <a name="cacheignoreheaders" id="cacheignoreheaders">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>ꤵ줿 HTTP إåå¸ʤ
</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheIgnoreHeaders <var>header-string</var> [<var>header-string</var>] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheIgnoreHeaders None</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p>RFC 2616 ˤȡhop-by-hop HTTP إåϥåˤݴɤޤ
ʲΥإå hop-by-hop إå˳ޤΤǡ
<code class="directive">CacheIgnoreHeaders</code>
<em>طʤ</em>åˤݴɤޤ:</p>
<ul>
<li><code>Connection</code></li>
<li><code>Keep-Alive</code></li>
<li><code>Proxy-Authenticate</code></li>
<li><code>Proxy-Authorization</code></li>
<li><code>TE</code></li>
<li><code>Trailers</code></li>
<li><code>Transfer-Encoding</code></li>
<li><code>Upgrade</code></li>
</ul>
<p><code class="directive">CacheIgnoreHeaders</code>
åݴɤʤɲä HTTP إåꤷޤ
㤨Сååݴɤʤ褦ˤ褤
Ǥ礦</p>
<p><code class="directive">CacheIgnoreHeaders</code> ΰϡ
åݴɤʤ HTTP إåڤˤꥹȷǤ
åݴɤʤإå hop-by-hop إåξ
(RFC 2616 ưΤȤ) ϡ
<code class="directive">CacheIgnoreHeaders</code> <code>None</code>
Ǥޤ</p>
<div class="example"><h3> 1</h3><p><code>
CacheIgnoreHeaders Set-Cookie
</code></p></div>
<div class="example"><h3> 2</h3><p><code>
CacheIgnoreHeaders None
</code></p></div>
<div class="warning"><h3>ٹ:</h3>
<code>Expires</code> Τ褦ŬڤΥåΤɬפ
إå <code class="directive">CacheIgnoreHeaders</code> ˤ
ݴɤƤʤȤϡmod_cache ưƤޤ
</div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheIgnoreNoLastMod" id="CacheIgnoreNoLastMod">CacheIgnoreNoLastMod</a> <a name="cacheignorenolastmod" id="cacheignorenolastmod">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td> Last Modified ̵Ƥⵤˤʤ褦ˤ</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheIgnoreNoLastMod On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheIgnoreNoLastMod Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p>̾Last-Modified ˤǽ̵ɥȤϥå
ޤ(㤨 <code class="module"><a href="../mod/mod_include.html">mod_include</a></code> ˤΤȤʤɤ)
Last-Modified 郎õ줿ꡢ⤽ǽ餫Ƥʤ
ޤ<code class="directive">CacheIgnoreNoLastMod</code>
ǥ쥯ƥ֤ȤȡLast-Modified ꤵƤʤ
ɥȤǤ⥭å夹褦˻ǤޤɥȤ
ǽ (Last-Modified) ͭ (expiry) ʤϡͭ¤
<code class="directive">CacheDefaultExpire</code> Ȥޤ</p>
<div class="example"><p><code>
CacheIgnoreNoLastMod On
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheLastModifiedFactor" id="CacheLastModifiedFactor">CacheLastModifiedFactor</a> <a name="cachelastmodifiedfactor" id="cachelastmodifiedfactor">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>LastModified դ˴Ťͭ (expiry)
뤿νŤߤꤹ
</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheLastModifiedFactor <var>float</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheLastModifiedFactor 0.1</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p>ɥȤ Last-Modified դ̵ɤͭ (expiry)
դȤȤˡͭ¤ǽ狼ηв֤Ȥ
褦ˤǤޤͭ¤η˽äΤǤ
ΤȤ˻Ȥ <var>factor</var>
<code class="directive">CacheLastModifiedFactor</code> ǥ쥯ƥ֤ǻꤷޤ
</p>
<p><code>expiry-period = time-since-last-modified-date * <var>factor</var>
expiry-date = current-date + expiry-period</code></p>
<p>㤨СɥȤ 10 ˺Ǹ˽Ƥơ
<var>factor</var> 0.1 ǤС 10*0.1 = 1 ֤
ꤵޤ郎 3:00pm ǤС줿
3:00pm + 1hour = 4:00pm ˤʤޤ</p>
<p> <code class="directive">CacheMaxExpire</code> ꤵƤ
礭ʤäƤޤäƤϡ<code class="directive">CacheMaxExpire</code>
ͤͥ褵ޤ</p>
<div class="example"><p><code>
CacheLastModifiedFactor 0.5
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheMaxExpire" id="CacheMaxExpire">CacheMaxExpire</a> <a name="cachemaxexpire" id="cachemaxexpire">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>ɥȤå夹֤ÿǸ</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheMaxExpire <var>seconds</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheMaxExpire 86400 ()</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p><code class="directive">CacheMaxExpire</code> ǥ쥯ƥ֤ϡ
å夹 HTTP ɥȤΥФ䤤碌ʤޤ粿
ݻƤ褤ꤷޤĤޤꡢɥȤϺǤÿ֤֤Ť
ʤ뤳Ȥˤʤޤκͤϡ(:쥹ݥ)ɥȤȶ
ɥȤδƤǤŬѤޤ</p>
<div class="example"><p><code>
CacheMaxExpire 604800
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheStoreNoStore" id="CacheStoreNoStore">CacheStoreNoStore</a> <a name="cachestorenostore" id="cachestorenostore">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>no-store ȻꤵƤ쥹ݥΥåߤ롣</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheStoreNoStore On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheStoreNoStore Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p>̾ Cache-Control: no-store إåΤĤƤ쥹ݥ
å夵ޤ<code class="directive">CacheStoreNoCache</code>
ǥ쥯ƥ֤ǤεưǤޤ
<code class="directive">CacheStoreNoCache</code> On no-store إåΤĤƤ
ФƤ⥭åߤ褦ˤʤޤ
ǧڤε <em>褷</em> å夵ޤ</p>
<div class="example"><p><code>
CacheStoreNoStore On
</code></p></div>
<div class="warning"><h3>ٹ:</h3>
RFC 2616 ˵ܤƤ褦 no-store ǥ쥯ƥ֤ϡ
"դˤ뵡̩ϳ̤α (Хååץơ) ɤ"
ŪǻȤޤΥץͭˤȡ
̩ݻ뤳ȤˤʤäƤޤޤ
ǤΤǡǷٹ𤷤Ƥޤ
</div>
<h3></h3>
<ul>
<li><code class="directive"><a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></code></li>
<li><code class="directive"><a href="#cachestoreprivate">CacheStorePrivate</a></code></li>
</ul>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CacheStorePrivate" id="CacheStorePrivate">CacheStorePrivate</a> <a name="cachestoreprivate" id="cachestoreprivate">ǥ쥯ƥ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">:</a></th><td>private ȻꤵƤ쥹ݥΥåߤ롣</td></tr>
<tr><th><a href="directive-dict.html#Syntax">ʸ:</a></th><td><code>CacheStorePrivate On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Default">ǥե:</a></th><td><code>CacheStorePrivate Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">ƥ:</a></th><td>ե, Сۥ</td></tr>
<tr><th><a href="directive-dict.html#Status">ơ:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">⥸塼:</a></th><td>mod_cache</td></tr>
</table>
<p>̾ Cache-Control: private إåΤĤƤ쥹ݥ
å夵ޤ<code class="directive">CacheStorePrivate</code>
ǥ쥯ƥ֤ǤεưǤޤ
<code class="directive">CacheStorePrivate</code> On private إåΤĤƤ
ФƤ⥭åߤ褦ˤʤޤ
ǧڤε <em>褷</em> å夵ޤ</p>
<div class="example"><p><code>
CacheStorePrivate On
</code></p></div>
<div class="warning"><h3>ٹ:</h3>
ήФå夷ʤ褦˻ꤷƤƤ⡢
̵뤷ƥå夹褦ˤʤޤ
˾ޤưˤʤΤϡ 'private' ʥåˤĤƤΤߤǤ礦
</div>
<h3></h3>
<ul>
<li><code class="directive"><a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></code></li>
<li><code class="directive"><a href="#cachestorenostore">CacheStoreNoStore</a></code></li>
</ul>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/mod/mod_cache.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_cache.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_cache.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 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>
<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>
</body></html>
|