From aca7ab747a7d9d58e1f0508792e094a5dbf88cf9 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Wed, 14 Aug 2002 18:56:00 +0000 Subject: Updating some html transformations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96375 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_cache.html.en | 65 ++++++++++++++++++++++++++++++--------- 1 file changed, 51 insertions(+), 14 deletions(-) (limited to 'docs/manual/mod/mod_cache.html.en') diff --git a/docs/manual/mod/mod_cache.html.en b/docs/manual/mod/mod_cache.html.en index 1a0f12d38c..5a8059006c 100644 --- a/docs/manual/mod/mod_cache.html.en +++ b/docs/manual/mod/mod_cache.html.en @@ -3,7 +3,7 @@ This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -->mod_cache - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Apache Module mod_cache

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

Summary

@@ -16,18 +16,20 @@ This module is experimental. Documentation is still under development... management modules. Two storage management modules are included in the base Apache distribution:

-
mod_disk_cache
-
implements a disk based storage manager for use with mod_proxy
-
mod_mem_cache
+
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 + 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.

-

Directives

Sample Configuration

+ +
Related Modules

mod_disk_cache
mod_mem_cache
Related Directives

CacheRoot
CacheSize
CacheGcInterval
CacheDirLevels
CacheDirLength
CacheExpiryCheck
CacheMinFileSize
CacheMaxFileSize
CacheTimeMargin
CacheGcDaily
CacheGcUnused
CacheGcClean
CacheGcMemUsage
MCacheSize
MCacheMaxObjectCount
MCacheMinObjectSize
MCacheMaxObjectSize
MCacheRemovalAlgorithm
+

Directives

Sample Configuration

Sample httpd.conf

@@ -41,7 +43,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 + CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
@@ -62,11 +64,13 @@ LoadModule cache_module modules/mod_cache.so

CacheDefaultExpire Directive

Description:
Syntax: -
Context: + CacheDefaultExpire seconds
Default: + CacheDefaultExpire 3600 (one hour)
Context: server config
Status: Experimental
Module: mod_cache
-

The default time in seconds to cache a document.

+

The default time in seconds to cache a document if the page does not have + an expiry date in the Expires field.

CacheDefaultExpire 86400
@@ -101,9 +105,39 @@ LoadModule cache_module modules/mod_cache.so
CacheEnable mem /manual
CacheEnable fd /images
+

CacheForceCompletion Directive

Description: + Percentage of download to arrive for the cache to force complete transfert
Syntax: + CacheLastModifiedFactor Percentage
Default: + CacheLastModifiedFactor 60
Context: + server config
Status: + Experimental
Module: + mod_cache
+

Percentage of download to arrive for the cache to force complete transfert.

+ +
+ CacheForceCompletion +
+
+This feature is currently not implemented. +
+

CacheForceCompletion Directive

Description: + Percentage of download to arrive for the cache to force complete transfert
Syntax: + CacheLastModifiedFactor Percentage
Default: + CacheLastModifiedFactor 60
Context: + server config
Status: + Experimental
Module: + mod_cache
+

Percentage of download to arrive for the cache to force complete transfert.

+ +
+ CacheForceCompletion +
+
+This feature is currently not implemented. +

CacheIgnoreCacheControl Directive

Description: Ignore requests from the client for uncached content
Syntax: -
Context: + CacheIgnoreCacheControl
Context: server config
Status: Experimental
Module: mod_cache
@@ -114,7 +148,7 @@ LoadModule cache_module modules/mod_cache.so

CacheIgnoreNoLastMod Directive

Description: Ignore responses where there is no Last Modified Header
Syntax: -
Context: + CacheIgnoreNoLastMod
Context: server config
Status: Experimental
Module: mod_cache
@@ -125,7 +159,8 @@ LoadModule cache_module modules/mod_cache.so

CacheLastModifiedFactor Directive

Description: The factor used to estimate the Expires date from the LastModified date
Syntax: -
Context: + CacheLastModifiedFactor float
Default: + CacheLastModifiedFactor 0.1
Context: server config
Status: Experimental
Module: mod_cache
@@ -136,11 +171,13 @@ LoadModule cache_module modules/mod_cache.so

CacheMaxExpire Directive

Description: The maximum time in seconds to cache a document
Syntax: -
Context: + CacheMaxExpire seconds
Default: + CacheMaxExpire 86400 (one day)
Context: server config
Status: Experimental
Module: mod_cache
-

The maximum time in seconds to cache a document.

+

The maximum time in seconds to cache a document. The CacheMaxExpire + takes precedence over the Expire field from the header.

CacheMaxExpire 604800
-- cgit v1.2.3