cache.conf
by
daMaestro
—
last modified
Jan 30, 2008 03:46 AM
This is how you enable caching using apache mod_cache. Disk cache has to wait till the full reponse is written to disk and mem based caching is per worker.. so not 100% optimal.
Disk Based Caching
For disk based caching add the following to your httpd.conf or to the virtual host (if you only want caching for your plone site):
<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
</IfModule>
RAM/Memory Based Caching
For RAM/Memory based caching add the following to your httpd.conf or to the virtual host (if you only want caching for your plone site):<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
Added Reading
- Apache mod_cache
http://httpd.apache.org/docs/2.2/mod/mod_cache.html

