<IfModule mod_cache.c>
# If you want to use mod_disk_cache instead of mod_mem_cache,
# just swap the two loadmodule comments.
-# LoadModule disk_cache_module modules/mod_disk_cache.so
- LoadModule mem_cache_module modules/mod_mem_cache.so
+# LoadModule cache_disk_module modules/mod_cache_disk.so
# prevent apache from cacheing cookies
CacheIgnoreHeaders Set-Cookie
- <IfModule mod_disk_cache.c>
+ <IfModule mod_cache_disk.c>
CacheRoot "/var/cache/httpd"
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
-# CacheDefaultExpire 3600
-# CacheMinExpire 3600
# CacheMinFileSize 64
# CacheMaxFileSize 64000
- </IfModule>
-
- <IfModule mod_mem_cache.c>
- CacheEnable mem /
- MCacheSize 4096
- MCacheMaxObjectCount 100
- MCacheMinObjectSize 1
- MCacheMaxObjectSize 2048
+# CacheReadSize 102400
+# CacheReadTime 1000
</IfModule>
# When acting as a proxy, don't cache the list of security updates