diff options
author | Takashi Sato <takashi@apache.org> | 2008-11-05 06:49:29 +0000 |
---|---|---|
committer | Takashi Sato <takashi@apache.org> | 2008-11-05 06:49:29 +0000 |
commit | c9beb12c8dd7cacd570dca13d58fcef0258614f2 (patch) | |
tree | 2024704592db1a20c0a78e1b29cd5508f7a98287 /docs/manual/mod/mod_cache.xml | |
parent | 92d9c6fcf39ecce2d595f1b31e398a33c31918cb (diff) | |
download | httpd-c9beb12c8dd7cacd570dca13d58fcef0258614f2.tar.gz |
Remove mod_mem_cache from documents
(Sync with r711470)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711521 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_cache.xml')
-rw-r--r-- | docs/manual/mod/mod_cache.xml | 48 |
1 files changed, 4 insertions, 44 deletions
diff --git a/docs/manual/mod/mod_cache.xml b/docs/manual/mod/mod_cache.xml index 56981bbaca..2a31747e56 100644 --- a/docs/manual/mod/mod_cache.xml +++ b/docs/manual/mod/mod_cache.xml @@ -41,20 +41,11 @@ href="http://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a> compliant HTTP content cache that can be used to cache either local or proxied content. <module>mod_cache</module> requires the services of one or more storage - management modules. Two storage management modules are included in + management modules. One storage management module is included in the base Apache distribution:</p> <dl> <dt><module>mod_disk_cache</module></dt> <dd>implements a disk based storage manager.</dd> - - <dt><module>mod_mem_cache</module></dt> - <dd>implements a memory based storage manager. - <module>mod_mem_cache</module> can be configured to operate in two - modes: caching open file descriptors or caching objects in heap storage. - <module>mod_mem_cache</module> can be used to cache locally generated content - or to cache backend server content for <module>mod_proxy</module> when - configured using <directive module="mod_proxy">ProxyPass</directive> - (aka <dfn>reverse proxy</dfn>)</dd> </dl> <p>Content is stored in and retrieved from the cache using URI based keys. Content with @@ -68,7 +59,6 @@ <related> <modulelist> <module>mod_disk_cache</module> - <module>mod_mem_cache</module> </modulelist> <directivelist> <directive module="mod_disk_cache">CacheRoot</directive> @@ -76,12 +66,6 @@ <directive module="mod_disk_cache">CacheDirLength</directive> <directive module="mod_disk_cache">CacheMinFileSize</directive> <directive module="mod_disk_cache">CacheMaxFileSize</directive> - <directive module="mod_mem_cache">MCacheSize</directive> - <directive module="mod_mem_cache">MCacheMaxObjectCount</directive> - <directive module="mod_mem_cache">MCacheMinObjectSize</directive> - <directive module="mod_mem_cache">MCacheMaxObjectSize</directive> - <directive module="mod_mem_cache">MCacheRemovalAlgorithm</directive> - <directive module="mod_mem_cache">MCacheMaxStreamingBuffer</directive> </directivelist> </related> </section> @@ -95,9 +79,7 @@ <br /> <IfModule mod_cache.c><br /> <indent> - #LoadModule disk_cache_module modules/mod_disk_cache.so<br /> - # If you want to use mod_disk_cache instead of mod_mem_cache,<br /> - # uncomment the line above and comment out the LoadModule line below.<br /> + LoadModule disk_cache_module modules/mod_disk_cache.so<br /> <IfModule mod_disk_cache.c><br /> <indent> CacheRoot c:/cacheroot<br /> @@ -107,17 +89,6 @@ </indent> </IfModule> <br /> <br /> - LoadModule mem_cache_module modules/mod_mem_cache.so<br /> - <IfModule mod_mem_cache.c><br /> - <indent> - CacheEnable mem /<br /> - MCacheSize 4096<br /> - MCacheMaxObjectCount 100<br /> - MCacheMinObjectSize 1<br /> - MCacheMaxObjectSize 2048<br /> - </indent> - </IfModule><br /> - <br /> # When acting as a proxy, don't cache the list of security updates<br /> CacheDisable http://security.update.server/update-list/<br /> </indent> @@ -137,15 +108,10 @@ manager</description> <p>The <directive>CacheEnable</directive> directive instructs <module>mod_cache</module> 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> <code> mem</code> - instructs <module>mod_cache</module> to use the memory based storage - manager implemented by <module>mod_mem_cache</module>. + <var>cache_type</var> argument. <var>cache_type</var> <code>disk</code> instructs <module>mod_cache</module> to use the disk based storage manager - implemented by <module>mod_disk_cache</module>. - <var>cache_type</var> <code>fd</code> instructs - <module>mod_cache</module> to use the file descriptor cache implemented - by <module>mod_mem_cache</module>.</p> + implemented by <module>mod_disk_cache</module>.</p> <p>In the event that the URL space overlaps between different <directive>CacheEnable</directive> directives (as in the example below), each possible storage manager will be run until the first one that @@ -153,12 +119,6 @@ manager</description> run is determined by the order of the <directive>CacheEnable</directive> directives in the configuration file.</p> - <example> - CacheEnable mem /manual<br /> - CacheEnable fd /images<br /> - CacheEnable disk /<br /> - </example> - <p>When acting as a forward proxy server, <var>url-string</var> can also be used to specify remote sites and proxy protocols which caching should be enabled for.</p> |