Return-Path:
Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org
Received: (qmail 7880 invoked by uid 500); 24 Oct 2002 18:56:23 -0000
Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm
Precedence: bulk
Reply-To: dev@httpd.apache.org
list-help:
list-unsubscribe:
list-post:
Delivered-To: mailing list cvs@httpd.apache.org
Received: (qmail 7869 invoked by uid 500); 24 Oct 2002 18:56:23 -0000
Delivered-To: apmail-httpd-2.0-cvs@apache.org
Date: 24 Oct 2002 18:56:18 -0000
Message-ID: <20021024185618.9300.qmail@icarus.apache.org>
From: rederpj@apache.org
To: httpd-2.0-cvs@apache.org
Subject: cvs commit: httpd-2.0/docs/manual/mod mod_disk_cache.xml
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
rederpj 2002/10/24 11:56:18
Modified: docs/manual/mod mod_disk_cache.xml
Log:
Change the CacheRoot processing to check for a required
value at config time. This saves a lot of wasted processing
if the mod_disk_cache module is loaded but no CacheRoot
was provided. This fix also adds code to log an error
and avoid useless pallocs and procesing when the computed
cache file name cannot be opened. This also updates the
docs accordingly. [Paul J. Reder]
Revision Changes Path
1.2 +10 -5 httpd-2.0/docs/manual/mod/mod_disk_cache.xml
Index: mod_disk_cache.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_disk_cache.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_disk_cache.xml 13 Aug 2002 23:01:13 -0000 1.1
+++ mod_disk_cache.xml 24 Oct 2002 18:56:18 -0000 1.2
@@ -24,14 +24,19 @@
CacheRoot
-The directory to store cache files
+The directory root under which cache files are stored
CacheRoot directory
none
server config
The CacheRoot directive defines the name of the directory
- on the disk to contain cache files. What is happening if not set ?
+ on the disk to contain cache files. If the mod_disk_cache module has been loaded
+ or compiled in to the Apache server, this directive must be defined. Failing to
+ provide a value for CacheRoot will result in a configuration
+ file processing error. The CacheDirLevels and
+ CacheDirLength directives define the structure of the directories
+ under the specified root directory.
CacheRoot c:/cacheroot
@@ -47,14 +52,14 @@
server config
- The MCacheSize directive sets the desired disk space
+
The CacheSize directive sets the desired disk space
usage of the cache, in KBytes (1024-byte units). This directive does not put a
hard limit on the size of the cache. The garbage collector will delete files
until the usage is at or below the settings. Always use a value that is lower
than the available disk space.
- MCacheSize 5000000
+ CacheSize 5000000
@@ -256,4 +261,4 @@
-
\ No newline at end of file
+