Apache Module mod_disk_cache
Summary
This module is experimental. Documentation is still under development...
mod_disk_cache implements a disk based storage
manager. It is primarily of use in conjunction with
mod_proxy.
Content is stored in and retrieved from the cache using URI based
keys. Content with access protection is not cached.
The CacheDirLength directive sets the number
of characters for each subdirectory name in the cache hierarchy.
The result of CacheDirLevels* CacheDirLength
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 the CacheRoot directory.
The result of CacheDirLevels*
CacheDirLength must
not be higher than 20.
More detail will be added here, when the function is implemented.
The CacheExpiryCheck directive is currently
not implemented.
More detail will be added here, when the function is implemented.
CacheGcClean 12 /daily_scripts
The CacheGcClean directive is currently
not implemented.
More detail will be added here, when the function is implemented.
The CacheGcDaily directive is currently
not implemented.
The CacheGcInterval directive specifies the
number of hours to wait between attempts to free up disk space.
More detail will be added here, when the function is implemented.
The CacheGcInterval directive is currently
not implemented.
More detail will be added here, when the function is implemented.
The CacheGcMemUsage directive is currently
not implemented.
More detail will be added here, when the function is implemented.
CacheGcUnused 12 /local_images
The CacheGcUnused directive is currently
not implemented.
The CacheMaxFileSize directive sets the
maximum size, in bytes, for a document to be considered for storage in
the cache.
The CacheMinFileSize directive sets the
minimum size, in bytes, for a document to be considered for storage
in the cache.
The CacheRoot directive defines the name of
the directory 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.
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.
More detail will be added here, when the function is implemented.
The CacheTimeMargin directive is currently
not implemented.