Get the default configuration file apache-htcacheclean for Apache, optimized for Debian GNU/Linux 9 (stretch). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/default/apache-htcacheclean.
For more configurations and setup guides, visit our related files section to further customize your system.
# This file must only contain KEY=VALUE lines. Do not use advanced
# shell script constructs!
## run mode: cron, daemon
## run in daemon mode or as daily cron job
## default: daemon
HTCACHECLEAN_MODE=daemon
## cache size
HTCACHECLEAN_SIZE=300M
## interval: if in daemon mode, clean cache every x minutes
HTCACHECLEAN_DAEMON_INTERVAL=120
## path to cache
## must be the same as in CacheRoot directive
#HTCACHECLEAN_PATH=/var/cache/apache2/mod_cache_disk
## additional options:
## -n : be nice
## -t : remove empty directories
HTCACHECLEAN_OPTIONS="-n"
Download the raw file with wget or curl
wget -O apache-htcacheclean.example https://exampleconfig.com/static/raw/apache/debian9/etc/default/apache-htcacheclean
curl https://exampleconfig.com/static/raw/apache/debian9/etc/default/apache-htcacheclean > apache-htcacheclean.example
Other config files you might find useful