From: Joshua Slive Date: Wed, 3 Apr 2002 18:36:31 +0000 (+0000) Subject: Add mod_cache to allmodules.xml and do the transforms to get X-Git-Tag: 2.0.35~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1bc20100d24b2da689e7871c5b0d26a5bebe64d;p=apache Add mod_cache to allmodules.xml and do the transforms to get it into the indexes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94424 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/allmodules.xml b/docs/manual/mod/allmodules.xml index 8bdd9b98d6..bffb707e23 100644 --- a/docs/manual/mod/allmodules.xml +++ b/docs/manual/mod/allmodules.xml @@ -9,6 +9,7 @@ mod_auth_dbm.xml mod_auth_digest.xml mod_autoindex.xml +mod_cache.xml mod_cern_meta.xml mod_cgi.xml mod_cgid.xml @@ -48,4 +49,4 @@ perchild.xml prefork.xml worker.xml - \ No newline at end of file + diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index 6178a6b32a..c5bc8e1b1e 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -1,6 +1,6 @@ -Directive Index - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Directive Index

+Directive Index - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Directive Index

Each Apache directive available in the standard Apache distribution is listed here. They are described using a consistent format, and there is a dictionary of the terms used in their descriptions available.

-

Apache HTTP Server Version 2.0

IndexHome \ No newline at end of file +

Apache HTTP Server Version 2.0

IndexHome \ No newline at end of file diff --git a/docs/manual/mod/index.html b/docs/manual/mod/index.html index 219f39846a..4b8e1418e6 100644 --- a/docs/manual/mod/index.html +++ b/docs/manual/mod/index.html @@ -1,4 +1,4 @@ -Module Index - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Module Index

+Module Index - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Module Index

Below is a list of all of the modules that come as part of the Apache distribution. See also the complete @@ -21,7 +21,7 @@ HTTP headers

mod_auth
User authentic files
mod_auth_digest
User authentication using MD5 Digest Authentication.
mod_autoindex
Generates directory indexes, automatically, similar to the Unix ls command or the - Win32 dir shell command
mod_cern_meta
CERN httpd metafile semantics
mod_cgi
Execution of CGI scripts
mod_cgid
Execution of CGI scripts using an + Win32 dir shell command
mod_cache
Content cache keyed to URIs
mod_cern_meta
CERN httpd metafile semantics
mod_cgi
Execution of CGI scripts
mod_cgid
Execution of CGI scripts using an external CGI daemon
mod_charset_lite
Specify character set translation or recoding
mod_dav
Distributed Authoring and Versioning (WebDAV) functionality
mod_deflate
Compress content before it is delivered to the client
mod_dir
Provides for "trailing slash" redirects and @@ -52,4 +52,4 @@ directories
mod_usertrack
This module uses cookies to provide for a clickstream log of user activity on a site.
mod_vhost_alias
Provides for dynamically configured mass virtual -hosting

Apache HTTP Server Version 2.0

IndexHome \ No newline at end of file +hosting

Apache HTTP Server Version 2.0

IndexHome \ No newline at end of file diff --git a/docs/manual/mod/mod_cache.html b/docs/manual/mod/mod_cache.html new file mode 100644 index 0000000000..a58584a709 --- /dev/null +++ b/docs/manual/mod/mod_cache.html @@ -0,0 +1,110 @@ +mod_cache - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Apache Module mod_cache

Description:Content cache keyed to URIs
Status:Experimental
Module Identifier:cache_module

Summary

+ +
+This module is experimental. Documentation is still under development... +
+

mod_cache implements an RFC 2616 compliant HTTP content + 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).

+ +

Content stored and retrived keyed to the URL. Content with + access protections is not cached.

+ +

Directives

Sample Configuration

+ +

Sample httpd.conf

+ +#
+# Sample Cache Configuration
+#
+LoadModule cache_module modules/mod_cache.so
+<IfModule mod_cache.c>
+ CacheOn On
+

+ #LoadModule disk_cache_module modules/mod_disk_cache.so
+ <IfModule mod_disk_cache.c>
+ CacheRoot c:/cacheroot
+ CacheEnable disk /
+ CacheDirLevels 5
+ CacheDirLength 3
+ </IfModule>
+

+ LoadModule mem_cache_module modules/mod_mem_cache.so
+ <IfModule mod_mem_cache.c>
+ CacheEnable mem /
+ CacheSize 4096
+ CacheMaxObjectCount 100
+ CacheMinObjectSize 1
+ CacheMaxObjectSize 2048
+ </IfModule>
+

+</IfModule>
+ +
+ +

CacheDefaultExpire Directive

Description:
Syntax:
Context:server config
Status:Experimental
Module:mod_cache
+

The default time in seconds to cache a document.

+
+ CacheDefaultExpire 86400 +
+

CacheDisable Directive

Description: Disable caching of specified URLs by specified storage manager
Syntax:CacheDisable cache_type url-string
Context:server config
Status:Experimental
Module:mod_cache
+

The CacheDisable directive instructs + mod_cache to not cache urls at or above url-string.

+ +

Example

+ CacheDisable disk /local_files +
+

CacheEnable Directive

Description: Enable caching specified URLs in a specified storage manager
Syntax:CacheEnable cache_type url-string
Context:server config
Status:Experimental
Module:mod_cache
+

The CacheEnable directive instructs + mod_cache to cache urls at or below url-string. + The cache store is specified with the cache_type argument. + cache_type mem instructs mod_cache to use the + in-memory cache storage manager implemented by mod_mem_cache. + cache_type disk instructs mod_cache to use the + cache storage manager implemented by mod_disk_cache .

+ +
+ CacheEnable disk /
+ CacheEnable mem /manual +
+

CacheIgnoreCacheControl Directive

Description: Ignore requests from the client for uncached content
Syntax:
Context:server config
Status:Experimental
Module:mod_cache
+

Ignore requests from the client for uncached content

+ +
+ CacheIgnoreNoLastMod +
+

CacheIgnoreNoLastMod Directive

Description: Ignore responses where there is no Last Modified Header
Syntax:
Context:server config
Status:Experimental
Module:mod_cache
+

Ignore responses where there is no Last Modified Header

+ +
+ CacheIgnoreNoLastMod +
+

CacheLastModifiedFactor Directive

Description: The factor used to estimate the Expires date from the LastModified date
Syntax:
Context:server config
Status:Experimental
Module:mod_cache
+

The factor used to estimate the Expires date from the LastModified date.

+ +
+ CacheLastModifiedFactor +
+

CacheMaxExpire Directive

Description: The maximum time in seconds to cache a document
Syntax:
Context:server config
Status:Experimental
Module:mod_cache
+

The maximum time in seconds to cache a document.

+
+ CacheMaxExpire 604800 +
+

CacheOn Directive

Description:
Syntax:CacheOn
Context:server config
Status:Experimental
Module:mod_cache
+

+

+ + +
+ CacheOn +
+

Apache HTTP Server Version 2.0

IndexHome
\ No newline at end of file