mod_disk_cacheContent cache keyed to URIsExperimentalmod_disk_cache.cdisk_cache_module
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.
mod_disk_cache requires the services of mod_cache.
CacheRootThe directory to store cache filesCacheRoot directorynoneserver config
The CacheRoot directive defines the name of the directory
on the disk to contain cache files. What is happening if not set ?
CacheRoot c:/cacheroot CacheSizeThe maximum amount of disk space that will be used by the cache in KBytesCacheSize KBytesCacheSize 1000000server config
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.
MCacheSize 5000000 CacheGcIntervalThe interval between garbage collectionsCacheGcInterval hoursserver config
CacheGcInterval 24
The CacheGcInterval directive is currently not implemented.
CacheDirLevelsThe number of levels of subdirectories in the cacheCacheDirLevels levelsCacheDirLevels 3server config
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.
CacheDirLevels 5 CacheDirLengthThe number of characters in subdirectory namesCacheDirLength lengthCacheDirLength 2server config
The CacheDirLength directive sets the number of
characters for each subdirectory in the cache
CacheDirLevels*CacheDirLength value must not be higher than 20.
CacheDirLength 4 CacheExpiryCheckOn if cache observes Expires date when seeking filesCacheExpiryCheck binaryCacheExpiryCheck ?server config
CacheExpiryCheck On
The CacheExpiryCheck directive is currently not implemented.
CacheMinFileSizeThe minimum size (in bytes) of a file to be placed in the cacheCacheMinFileSize bytesCacheMinFileSize 1server config
The CacheMinFileSize directive sets the minimum
size in bytes of a file to be cached.
CacheMinFileSize 64 CacheMaxFileSizeThe maximum size (in bytes) of a file to be placed in the cacheCacheMaxFileSize bytesCacheMaxFileSize 1000000server config
The CacheMaxFileSize directive sets the maximum
size in bytes of a file to be cached.
CacheMaxFileSize 64000 CacheTimeMarginThe minimum time margin to cache a documentCacheTimeMargin ?CacheTimeMargin ?server config
CacheTimeMargin CacheGcDailyThe time of day for garbage collection (24 hour clock)CacheGcDaily timeCacheGcDaily ?server config
CacheGcDaily
The CacheGcDaily directive is currently not implemented.
CacheGcUnusedThe time in hours to retain unused file that match a urlCacheGcUnused hoursCacheGcUnused ?server config
CacheGcUnused
The CacheGcUnused directive is currently not implemented.
CacheGcCleanThe time in hours to retain unchanged files that match a urlCacheGcClean hoursCacheGcClean ?server config
CacheGcClean
The CacheGcClean directive is currently not implemented.
CacheGcMemUsageThe maximum kilobytes of memory used for garbage collectionCacheGcMemUsage KBytesCacheGcMemUsage ?server config
CacheGcMemUsage
The CacheGcMemUsage directive is currently not implemented.