From 0ca341066239087e6e2385cb4dc502912110d2b2 Mon Sep 17 00:00:00 2001
From: Bill Stoddard
Date: Tue, 30 Apr 2002 03:41:45 +0000
Subject: [PATCH] mod_cache doc update (note this is still very primitive)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94874 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_cache.xml | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/docs/manual/mod/mod_cache.xml b/docs/manual/mod/mod_cache.xml
index be00e9cbbc..a33edb26a7 100644
--- a/docs/manual/mod/mod_cache.xml
+++ b/docs/manual/mod/mod_cache.xml
@@ -18,14 +18,19 @@ This module is experimental. Documentation is still under development...
cache that can be used to cache either local or proxied content.
mod_cache requires the services of one or more storage
management modules. Two storage management modules are included in
- the base Apache distribution: mod_disk_cache implements a
- disk based storage manager (generally used for proxy caching) and
- mod_mem_cache implements an in-memory based storage
- manager (primarily useful for caching local content).
-
+ the base Apache distribution:
+
+ - mod_disk_cache
+ implements a disk based storage manager for use with mod_proxy
+ - mod_mem_cache
+ implements an in-memory based storage manager. mod_mem_cache
+ can be configured to operate in two modes: caching open file
+ descriptors or caching objects in heap storage. mod_mem_cache
+ is most useful when used to cache locally generated content or to cache
+ backend server content for mod_proxy configured for ProxyPass (aka reverse proxy)
+
Content stored and retrived keyed to the URL. Content with
access protections is not cached.
-
Sample Configuration
@@ -42,6 +47,7 @@ LoadModule cache_module modules/mod_cache.so
#LoadModule disk_cache_module modules/mod_disk_cache.so
<IfModule mod_disk_cache.c>
CacheRoot c:/cacheroot
+ CacheSize
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
@@ -49,11 +55,11 @@ LoadModule cache_module modules/mod_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
<IfModule mod_mem_cache.c>
- CacheEnable mem /
- CacheSize 4096
- CacheMaxObjectCount 100
- CacheMinObjectSize 1
- CacheMaxObjectSize 2048
+ MCacheEnable mem /
+ MCacheSize 4096
+ MCacheMaxObjectCount 100
+ MCacheMinObjectSize 1
+ MCacheMaxObjectSize 2048
</IfModule>
</IfModule>
@@ -96,7 +102,8 @@ LoadModule cache_module modules/mod_cache.so
CacheEnable disk /
- CacheEnable mem /manual
+ CacheEnable mem /manual
+ CacheEnable fd /images
--
2.40.0