![[APACHE DOCUMENTATION]](../images/sub.gif)
Apache HTTP Server Version 2.0
Apache Module mod_disk_cache
Summary
|
This module is experimental. Documentation is still under development...
|
mod_disk_cache implements a disk based storage manager for use with mod_proxy.
Content stored and retrived keyed to the URL. Content with
access protections is not cached.
Directives
The CacheDirLength directive sets the number of
characters for each subdirectory in the cache
|
CacheDirLevels*CacheDirLength value must not be higher than 20.
|
The CacheDirLevels directive sets the number of
subdirectory levels in the cache. Cached data will be saved this many directory
levels below CacheRoot
|
CacheDirLevels*CacheDirLength value must not be higher than 20.
|
| Description:
| On if cache observes Expires date when seeking files | | Syntax:
| CacheExpiryCheck binary | | Default:
| CacheExpiryCheck ? | | Context:
| server config | | Status:
| Experimental | | Module:
| mod_disk_cache |
|
The CacheExpiryCheck directive is currently not implemented.
|
| Description:
| The time in hours to retain unchanged files that match a url | | Syntax:
| CacheGcClean hours | | Default:
| CacheGcClean ? | | Context:
| server config | | Status:
| Experimental | | Module:
| mod_disk_cache |
|
The CacheGcClean directive is currently not implemented.
|
The CacheGcDaily directive is currently not implemented.
|
| Description:
| The interval between garbage collections | | Syntax:
| CacheGcInterval hours | | Context:
| server config | | Status:
| Experimental | | Module:
| mod_disk_cache |
|
The CacheGcInterval directive is currently not implemented.
|
| Description:
| The maximum kilobytes of memory used for garbage collection | | Syntax:
| CacheGcMemUsage KBytes | | Default:
| CacheGcMemUsage ? | | Context:
| server config | | Status:
| Experimental | | Module:
| mod_disk_cache |
|
The CacheGcMemUsage directive is currently not implemented.
|
The CacheGcUnused directive is currently not implemented.
|
| Description:
| The maximum size (in bytes) of a file to be placed in the cache | | Syntax:
| CacheMaxFileSize bytes | | Default:
| CacheMaxFileSize 1000000 | | Context:
| server config | | Status:
| Experimental | | Module:
| mod_disk_cache |
|
The CacheMaxFileSize directive sets the maximum
size in bytes of a file to be cached.
| Description:
| The minimum size (in bytes) of a file to be placed in the cache | | Syntax:
| CacheMinFileSize bytes | | Default:
| CacheMinFileSize 1 | | Context:
| server config | | Status:
| Experimental | | Module:
| mod_disk_cache |
|
The CacheMinFileSize directive sets the minimum
size in bytes of a file to be cached.
The CacheRoot directive defines the name of the directory
on the disk to contain cache files. What is happening if not set ?
| Description:
| The maximum amount of disk space that will be used by the cache in KBytes | | Syntax:
| CacheSize KBytes | | Default:
| CacheSize 1000000 | | Context:
| server config | | Status:
| Experimental | | Module:
| mod_disk_cache |
|
The MCacheSize 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.