diff options
author | Graham Leggett <minfrin@apache.org> | 2009-10-05 22:49:25 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2009-10-05 22:49:25 +0200 |
commit | 735cb040ca460fbb49270b455c077238fa5745a9 (patch) | |
tree | b749a85ee95e4fba17d5078874b8e4c076e02867 | |
parent | mod_cache: Teach CacheEnable and CacheDisable to work from within a (diff) | |
download | apache2-735cb040ca460fbb49270b455c077238fa5745a9.tar.xz apache2-735cb040ca460fbb49270b455c077238fa5745a9.zip |
Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@822002 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/manual/mod/mod_cache.html.en | 16 | ||||
-rw-r--r-- | docs/manual/mod/mod_cache.xml.ja | 2 | ||||
-rw-r--r-- | docs/manual/mod/mod_cache.xml.ko | 2 | ||||
-rw-r--r-- | docs/manual/mod/quickreference.html.en | 2 |
4 files changed, 17 insertions, 5 deletions
diff --git a/docs/manual/mod/mod_cache.html.en b/docs/manual/mod/mod_cache.html.en index 3de2da8147..ea522bdbd7 100644 --- a/docs/manual/mod/mod_cache.html.en +++ b/docs/manual/mod/mod_cache.html.en @@ -267,7 +267,7 @@ <div class="directive-section"><h2><a name="CacheDisable" id="CacheDisable">CacheDisable</a> <a name="cachedisable" id="cachedisable">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Disable caching of specified URLs</td></tr> -<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>CacheDisable <var> url-string</var></code></td></tr> +<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>CacheDisable <var>url-string</var> | <var>on</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cache</td></tr> @@ -280,6 +280,16 @@ CacheDisable /local_files </code></p></div> + <p>If used in a <code class="directive"><Location></code> directive, + the path needs to be specified below the Location, or if the word "on" + is used, caching for the whole location will be disabled.</p> + + <div class="example"><h3>Example</h3><p><code> + <Location /foo><br /> + CacheDisable on<br /> + </Location><br /> + </code></p></div> + <p> The <code>no-cache</code> environment variable can be set to disable caching on a finer grained set of resources in versions 2.2.12 and later.</p> @@ -303,7 +313,9 @@ manager</td></tr> <p>The <code class="directive">CacheEnable</code> directive instructs <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> to cache urls at or below <var>url-string</var>. The cache storage manager is specified with the - <var>cache_type</var> argument. + <var>cache_type</var> argument. If the <code class="directive">CacheEnable</code> + directive is placed inside a <code class="directive"><Location></code> + directive, the <var>url-string</var> becomes optional. <var>cache_type</var> <code>disk</code> instructs <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code> to use the disk based storage manager implemented by <code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code>.</p> diff --git a/docs/manual/mod/mod_cache.xml.ja b/docs/manual/mod/mod_cache.xml.ja index 553fb187ad..d44997727c 100644 --- a/docs/manual/mod/mod_cache.xml.ja +++ b/docs/manual/mod/mod_cache.xml.ja @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?> -<!-- English Revision: 504183:821333 (outdated) --> +<!-- English Revision: 504183:821993 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/mod_cache.xml.ko b/docs/manual/mod/mod_cache.xml.ko index af6520f061..558cbd7295 100644 --- a/docs/manual/mod/mod_cache.xml.ko +++ b/docs/manual/mod/mod_cache.xml.ko @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="EUC-KR" ?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?> -<!-- English Revision: 105569:821333 (outdated) --> +<!-- English Revision: 105569:821993 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index c89704055c..36a904cb54 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -235,7 +235,7 @@ respect to case</td></tr> <tr class="odd"><td><a href="mod_disk_cache.html#cachedirlength">CacheDirLength <var>length</var></a></td><td> 2 </td><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">The number of characters in subdirectory names</td></tr> <tr><td><a href="mod_disk_cache.html#cachedirlevels">CacheDirLevels <var>levels</var></a></td><td> 2 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">The number of levels of subdirectories in the cache.</td></tr> -<tr class="odd"><td><a href="mod_cache.html#cachedisable">CacheDisable <var> url-string</var></a></td><td></td><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Disable caching of specified URLs</td></tr> +<tr class="odd"><td><a href="mod_cache.html#cachedisable">CacheDisable <var>url-string</var> | <var>on</var></a></td><td></td><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Disable caching of specified URLs</td></tr> <tr><td><a href="mod_cache.html#cacheenable">CacheEnable <var>cache_type</var> <var>url-string</var></a></td><td></td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">Enable caching of specified URLs using a specified storage manager</td></tr> <tr class="odd"><td><a href="mod_file_cache.html#cachefile">CacheFile <var>file-path</var> [<var>file-path</var>] ...</a></td><td></td><td>s</td><td>X</td></tr><tr class="odd"><td class="descr" colspan="4">Cache a list of file handles at startup time</td></tr> |