From: André Malo Date: Tue, 10 Dec 2002 00:02:42 +0000 (+0000) Subject: update transformation X-Git-Tag: pre_ajp_proxy~2472 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85355b24e50e74eb994907eefb07eb358c9c1448;p=apache update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97828 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_mem_cache.html.en b/docs/manual/mod/mod_mem_cache.html.en index 97c5b08f8e..2cdca99b1c 100644 --- a/docs/manual/mod/mod_mem_cache.html.en +++ b/docs/manual/mod/mod_mem_cache.html.en @@ -9,125 +9,125 @@ ExperimentalModule Identifier: mem_cache_moduleSource File: mod_mem_cache.c

Summary

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

mod_mem_cache implements a 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. +

This module requires the service of mod_cache. It acts as a support module for mod_cache and provides a 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 is stored in and retrieved from the cache using URI based keys. Content with - access protection is not cached.

+ generated content or to cache backend server content for mod_proxy configured for ProxyPass (aka reverse proxy).

-

Note:

-

mod_mem_cache requires the services of mod_cache.

-
+

Content is stored in and retrieved from the cache using URI based + keys. Content with access protection is not cached.

Directives

top

MCacheMaxObjectCount Directive

- - - - - + +
Description: - The maximum number of objects allowed to be placed in the cache
Syntax: +

See also

top

MCacheMaxObjectCount Directive

Description: + The maximum number of objects allowed to be placed in the +cache
Syntax: MCacheMaxObjectCount value
Default: MCacheMaxObjectCount 1009
Context: - server config, virtual host
Status: + server config
Status: Experimental
Module: mod_mem_cache
-

The MCacheMaxObjectCount directive sets the maximum - number of objects to be cached. If a new object needs to be inserted in the cache - and the maximum number of objects has been reached, an object will be removed - to allow the new object to be cached. The object to be removed is selected using - the algorithm specified by MCacheRemovalAlgorithm.

+

The MCacheMaxObjectCount directive sets the + maximum number of objects to be cached. The value is used to create the + open hash table. If a new object needs to be inserted in the cache and + the maximum number of objects has been reached, an object will be + removed to allow the new object to be cached. The object to be removed + is selected using the algorithm specified by MCacheRemovalAlgorithm.

-

Note:

- The value of MCacheMaxObjectCount is used to create - the open hash table. -
- -

- MCacheMaxObjectCount 13001
+

Example

+ MCacheMaxObjectCount 13001

top

MCacheMaxObjectSize Directive

Description: The maximum size (in bytes) of a document allowed in the cache
Syntax: MCacheMaxObjectSize bytes
Default: MCacheMaxObjectSize 10000
Context: - server config, virtual host
Status: + server config
Status: Experimental
Module: mod_mem_cache
-

The MCacheMaxObjectSize directive sets the maximum - allowable size, in bytes, of a document for it to be considered cacheable.

- -

Note:

- The value of MCacheMaxObjectSize must be greater - than the value specified by the MCacheMinObjectSize - directive. -
+

The MCacheMaxObjectSize directive sets the + maximum allowable size, in bytes, of a document for it to be considered + cacheable.

-

- MCacheMaxObjectSize 6400000
+

Example

+ MCacheMaxObjectSize 6400000

+ +

Note

+

The value of MCacheMaxObjectSize must be + greater than the value specified by the MCacheMinObjectSize directive.

+
top

MCacheMinObjectSize Directive

Description: The minimum size (in bytes) of a document to be allowed in the cache
Syntax: MCacheMinObjectSize bytes
Default: MCacheMinObjectSize 0
Context: - server config, virtual host
Status: + server config
Status: Experimental
Module: mod_mem_cache
-

The MCacheMinObjectSize directive sets the minimum - size in bytes of a document for it to be considered cacheable.

+

The MCacheMinObjectSize directive sets the + minimum size in bytes of a document for it to be considered + cacheable.

-

- MCacheMinObjectSize 10000
+

Example

+ MCacheMinObjectSize 10000

top

MCacheRemovalAlgorithm Directive

Description: The algorithm used to select documents for removal from the cache
Syntax: - MCacheRemovalAlgorithm LRU|GDSF
Default: + MCacheRemovalAlgorithm LRU|GDSF
Default: MCacheRemovalAlgorithm GDSF
Context: - server config, virtual host
Status: + server config
Status: Experimental
Module: mod_mem_cache

The MCacheRemovalAlgorithm directive specifies the algorithm used to select documents for removal from the cache. - Two choices are available:
- LRU (Least Recently Used): LRU removes the - documents that have not been accessed for the longest time.
- GDSF (GreadyDual-Size): GDSF assigns a priority - to cached documents based on the cost of a cache miss and the size of - the document. Documents with the lowest priority are removed first.

+ Two choices are available:

+ +
+
LRU (Least Recently Used)
+
LRU removes the documents that have not been accessed + for the longest time.
+ +
GDSF (GreadyDual-Size)
+
GDSF assigns a priority to cached documents based + on the cost of a cache miss and the size of the document. Documents + with the lowest priority are removed first.
+
-

- MCacheRemovalAlgorithm GDSF
- MCacheRemovalAlgorithm LRU
+

Example

+ MCacheRemovalAlgorithm GDSF
+ MCacheRemovalAlgorithm LRU

top

MCacheSize Directive

Description: - The maximum amount of memory used by the cache in KBytes
Syntax: + The maximum amount of memory used by the cache in +KBytes
Syntax: MCacheSize KBytes
Default: MCacheSize 100
Context: - server config, virtual host
Status: + server config
Status: Experimental
Module: mod_mem_cache
-

The MCacheSize directive sets the maximum amount of memory - to be used by the cache, in KBytes (1024-byte units). If a new object needs to be - inserted in the cache and the size of the object is greater than the - remaining memory, objects will be removed until the new object can be cached. - The object to be removed is selected using the algorithm specified by - MCacheRemovalAlgorithm.

+

The MCacheSize directive sets the maximum + amount of memory to be used by the cache, in KBytes (1024-byte units). + If a new object needs to be inserted in the cache and the size of the + object is greater than the remaining memory, objects will be removed + until the new object can be cached. The object to be removed is + selected using the algorithm specified by MCacheRemovalAlgorithm.

-

Note:

- The MCacheSize value must be greater than the value - specified by the MCacheMaxObjectSize directive. -
- -

- MCacheSize 700000
+

Example

+ MCacheSize 700000

+ +

Note

+

The MCacheSize value must be greater than + the value specified by the MCacheMaxObjectSize directive.

+
\ No newline at end of file diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index 6d4815a56d..36b6ed4a31 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -389,14 +389,16 @@ will handle during its life
MaxSpareThreads numbersM
Maximum number of idle threads
MaxThreads number 250 sM
-
MaxThreadsPerChild number 64 sM
Maximum number of threads per child process
MCacheMaxObjectCount value 1009 svX
The maximum number of objects allowed to be placed in the cache
MCacheMaxObjectSize bytes 10000 svX
The maximum size (in bytes) of a document allowed in the +
MCacheMaxObjectCount value 1009 sX
The maximum number of objects allowed to be placed in the cache
MCacheMinObjectSize bytes 0 svX
The minimum size (in bytes) of a document to be allowed in the +
MCacheMaxObjectSize bytes 10000 sX
The maximum size (in bytes) of a document allowed in the cache
MCacheRemovalAlgorithm LRU|GDSF GDSF svX
The algorithm used to select documents for removal from the +
MCacheMinObjectSize bytes 0 sX
The minimum size (in bytes) of a document to be allowed in the cache
MCacheSize KBytes 100 svX
The maximum amount of memory used by the cache in KBytes
MCacheRemovalAlgorithm LRU|GDSF GDSF sX
The algorithm used to select documents for removal from the +cache
MCacheSize KBytes 100 sX
The maximum amount of memory used by the cache in +KBytes
MetaDir directory .web svdhE
Name of the directory to find CERN-style meta information files
MetaFiles on|off off svdhE
Activates CERN meta-file processing