Apache HTTP Server - /etc/apache2/mods-available/cache_disk.conf
Pulled directly from an unmodified installation.
Quick Actions
๐ฅ Download Original cache_disk.confConfiguration File Information
Authentic & Original
Unaltered cache_disk.conf from fresh installation.
Linux Distribution Support
๐ Currently viewing: Debian 10 (Buster)
โ Also compatible:
Debian 11 (Bullseye),
Debian 9 (Stretch),
Ubuntu 18.04 LTS (Bionic Beaver),
Ubuntu 20.04 LTS (Focal Fossa),
Ubuntu 22.04 LTS (Jammy Jellyfish),
Configuration File Content
28 lines
<IfModule mod_cache_disk.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/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_cache_disk
# This will also cache local documents. It usually makes more sense to
# put this into the configuration for just one virtual host.
#CacheEnable disk /
# The result of CacheDirLevels * CacheDirLength must not be higher than
# 20. Moreover, pay attention on file system limits. Some file systems
# do not support more than a certain number of inodes and
# subdirectories (e.g. 32000 for ext3)
CacheDirLevels 2
CacheDirLength 1
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Download Commands
cache_disk.conf โข
Download the 100% original unaltered configuration file pulled from Apache HTTP Server
Using wget:
wget -O cache_disk.conf.example https://exampleconfig.com/api/v1/config/original/b716cf836c9f00dae0366a39f511b76d?hint=cache_disk.conf
Using curl:
curl https://exampleconfig.com/api/v1/config/original/b716cf836c9f00dae0366a39f511b76d?hint=cache_disk.conf > cache_disk.conf.example