<IfDefine HAVE_DISK_CACHE> <IfModule mod_cache.c> <IfModule !mod_disk_cache.c> LoadModule disk_cache_module modules/mod_disk_cache.so </IfModule> </IfModule> </IfDefine> <IfModule mod_cache.c> # CacheEnable - A cache type and partial URL prefix below which caching is enabled CacheEnable disk / </IfModule> <IfModule mod_disk_cache.c> # CacheRoot - The directory to store cache files CacheRoot "/var/cache/httpd/mod_proxy" # CacheDirLevels - The number of levels of subdirectories in the cache CacheDirLevels 5 # CacheDirLength - The number of characters in subdirectory names CacheDirLength 3 # CacheMinFileSize - The minimum file size to cache a document CacheMinFileSize 1 # CacheMaxFileSize - The maximum file size to cache a document CacheMaxFileSize 1000000 </IfModule>