Apache apache-htcacheclean configuration example for Debian GNU/Linux 11 (bullseye)

Get the default configuration file apache-htcacheclean for Apache, optimized for Debian GNU/Linux 11 (bullseye). 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"

    
  

Config Details

Location
/etc/default/apache-htcacheclean
Operating system
Debian GNU/Linux 11 (bullseye)
Length
22 lines
MD5 checksum
ae8721a0bc5b4e2ef7a5258b1e9db5c5

Usage

Download the raw file with wget or curl

Wget

wget -O apache-htcacheclean.example https://exampleconfig.com/static/raw/apache/debian11/etc/default/apache-htcacheclean

cURL

curl https://exampleconfig.com/static/raw/apache/debian11/etc/default/apache-htcacheclean > apache-htcacheclean.example