|
63 | 63 | <li><img alt="" src="../images/down.gif" /> <a href="#cacheignorenolastmod">CacheIgnoreNoLastMod</a></li> |
64 | 64 | <li><img alt="" src="../images/down.gif" /> <a href="#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li> |
65 | 65 | <li><img alt="" src="../images/down.gif" /> <a href="#cachemaxexpire">CacheMaxExpire</a></li> |
| 66 | +<li><img alt="" src="../images/down.gif" /> <a href="#cachestorenostore">CacheStoreNoStore</a></li> |
| 67 | +<li><img alt="" src="../images/down.gif" /> <a href="#cachestoreprivate">CacheStorePrivate</a></li> |
66 | 68 | </ul> |
67 | 69 | <h3>Topics</h3> |
68 | 70 | <ul id="topics"> |
@@ -187,24 +189,36 @@ manager</td></tr> |
187 | 189 | <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
188 | 190 | <div class="directive-section"><h2><a name="CacheIgnoreCacheControl" id="CacheIgnoreCacheControl">CacheIgnoreCacheControl</a> <a name="cacheignorecachecontrol" id="cacheignorecachecontrol">Directive</a></h2> |
189 | 191 | <table class="directive"> |
190 | | -<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Ignore the fact that the client requested the content not be |
191 | | -cached.</td></tr> |
| 192 | +<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Ignore request to not serve cached content to client</td></tr> |
192 | 193 | <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>CacheIgnoreCacheControl On|Off</code></td></tr> |
193 | 194 | <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>CacheIgnoreCacheControl Off</code></td></tr> |
194 | 195 | <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> |
195 | 196 | <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> |
196 | 197 | <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cache</td></tr> |
197 | 198 | </table> |
198 | | - <p>Ordinarily, documents with no-cache or no-store header values will not be stored in the cache. |
199 | | - The <code class="directive">CacheIgnoreCacheControl</code> directive allows this behavior to be overridden. |
200 | | - <code class="directive">CacheIgnoreCacheControl</code> On tells the server to attempt to cache the document |
201 | | - even if it contains no-cache or no-store header values. Documents requiring authorization will |
202 | | - <em>never</em> be cached.</p> |
| 199 | + <p>Ordinarily, requests containing a Cache-Control: no-cache or |
| 200 | + Pragma: no-cache header value will not be served from the cache. The |
| 201 | + <code class="directive">CacheIgnoreCacheControl</code> directive allows this |
| 202 | + behavior to be overridden. <code class="directive">CacheIgnoreCacheControl</code> |
| 203 | + On tells the server to attempt to serve the resource from the cache even |
| 204 | + if the request contains no-cache header values. Resources requiring |
| 205 | + authorization will <em>never</em> be cached.</p> |
203 | 206 |
|
204 | 207 | <div class="example"><p><code> |
205 | 208 | CacheIgnoreCacheControl On |
206 | 209 | </code></p></div> |
207 | 210 |
|
| 211 | + <div class="warning"><h3>Warning:</h3> |
| 212 | + This directive will allow serving from the cache even if the client has |
| 213 | + requested that the document not be served from the cache. This might |
| 214 | + result in stale content being served. |
| 215 | + </div> |
| 216 | + |
| 217 | +<h3>See also</h3> |
| 218 | +<ul> |
| 219 | +<li><code class="directive"><a href="#cachestoreprivate">CacheStorePrivate</a></code></li> |
| 220 | +<li><code class="directive"><a href="#cachestorenostore">CacheStoreNoStore</a></code></li> |
| 221 | +</ul> |
208 | 222 | </div> |
209 | 223 | <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
210 | 224 | <div class="directive-section"><h2><a name="CacheIgnoreHeaders" id="CacheIgnoreHeaders">CacheIgnoreHeaders</a> <a name="cacheignoreheaders" id="cacheignoreheaders">Directive</a></h2> |
@@ -340,6 +354,75 @@ LastModified date.</td></tr> |
340 | 354 | CacheMaxExpire 604800 |
341 | 355 | </code></p></div> |
342 | 356 |
|
| 357 | +</div> |
| 358 | +<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
| 359 | +<div class="directive-section"><h2><a name="CacheStoreNoStore" id="CacheStoreNoStore">CacheStoreNoStore</a> <a name="cachestorenostore" id="cachestorenostore">Directive</a></h2> |
| 360 | +<table class="directive"> |
| 361 | +<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Attempt to cache requests or responses that have been marked as no-store.</td></tr> |
| 362 | +<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>CacheStoreNoStore On|Off</code></td></tr> |
| 363 | +<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>CacheStoreNoStore Off</code></td></tr> |
| 364 | +<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> |
| 365 | +<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> |
| 366 | +<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cache</td></tr> |
| 367 | +</table> |
| 368 | + <p>Ordinarily, requests or responses with Cache-Control: no-store header |
| 369 | + values will not be stored in the cache. The |
| 370 | + <code class="directive">CacheStoreNoCache</code> directive allows this |
| 371 | + behavior to be overridden. <code class="directive">CacheStoreNoCache</code> On |
| 372 | + tells the server to attempt to cache the resource even if it contains |
| 373 | + no-store header values. Resources requiring authorization will |
| 374 | + <em>never</em> be cached.</p> |
| 375 | + |
| 376 | + <div class="example"><p><code> |
| 377 | + CacheStoreNoStore On |
| 378 | + </code></p></div> |
| 379 | + |
| 380 | + <div class="warning"><h3>Warning:</h3> |
| 381 | + As described in RFC 2616, the no-store directive is intended to |
| 382 | + "prevent the inadvertent release or retention of sensitive information |
| 383 | + (for example, on backup tapes)." Enabling this option could store |
| 384 | + sensitive information in the cache. You are hereby warned. |
| 385 | + </div> |
| 386 | + |
| 387 | +<h3>See also</h3> |
| 388 | +<ul> |
| 389 | +<li><code class="directive"><a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></code></li> |
| 390 | +<li><code class="directive"><a href="#cachestoreprivate">CacheStorePrivate</a></code></li> |
| 391 | +</ul> |
| 392 | +</div> |
| 393 | +<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
| 394 | +<div class="directive-section"><h2><a name="CacheStorePrivate" id="CacheStorePrivate">CacheStorePrivate</a> <a name="cachestoreprivate" id="cachestoreprivate">Directive</a></h2> |
| 395 | +<table class="directive"> |
| 396 | +<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Attempt to cache responses that the server has marked as private</td></tr> |
| 397 | +<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>CacheStorePrivate On|Off</code></td></tr> |
| 398 | +<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>CacheStorePrivate Off</code></td></tr> |
| 399 | +<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> |
| 400 | +<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> |
| 401 | +<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cache</td></tr> |
| 402 | +</table> |
| 403 | + <p>Ordinarily, responses with Cache-Control: private header values will not |
| 404 | + be stored in the cache. The <code class="directive">CacheStorePrivate</code> |
| 405 | + directive allows this behavior to be overridden. |
| 406 | + <code class="directive">CacheStorePrivate</code> On |
| 407 | + tells the server to attempt to cache the resource even if it contains |
| 408 | + private header values. Resources requiring authorization will |
| 409 | + <em>never</em> be cached.</p> |
| 410 | + |
| 411 | + <div class="example"><p><code> |
| 412 | + CacheStorePrivate On |
| 413 | + </code></p></div> |
| 414 | + |
| 415 | + <div class="warning"><h3>Warning:</h3> |
| 416 | + This directive will allow caching even if the upstream server has |
| 417 | + requested that the resource not be cached. This directive is only |
| 418 | + ideal for a 'private' cache. |
| 419 | + </div> |
| 420 | + |
| 421 | +<h3>See also</h3> |
| 422 | +<ul> |
| 423 | +<li><code class="directive"><a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></code></li> |
| 424 | +<li><code class="directive"><a href="#cachestorenostore">CacheStoreNoStore</a></code></li> |
| 425 | +</ul> |
343 | 426 | </div> |
344 | 427 | </div> |
345 | 428 | <div class="bottomlang"> |
|
0 commit comments