This is the default example configuration of disk_cache.conf provided by Apache. This config file was generated by Apache running on Ubuntu 12.04.
It is located under: /etc/apache2/mods-available/disk_cache.conf
<IfModule mod_disk_cache.c> # cache cleaning is done by htcacheclean, which can be configured in # /etc/default/apache2 # # For further information, see the comments in that file, # /usr/share/doc/apache2.2-common/README.Debian, and the htcacheclean(8) # man page. # This path must be the same as the one in /etc/default/apache2 CacheRoot /var/cache/apache2/mod_disk_cache # This will also cache local documents. It usually makes more sense to # put this into the configuration for just one virtual host. #CacheEnable disk / CacheDirLevels 5 CacheDirLength 3 </IfModule>
Download the raw file with wget or curl
wget -O disk_cache.conf.example http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-available/disk_cache.conf
curl http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-available/disk_cache.conf > disk_cache.conf.example
Other config files you might find useful