107
107
Using mod_disk_cache
108
108
====================
110
You need to enable caching in /etc/apache2/mods-enabled/disk_cache.conf . To
111
prevent the disk cache to grow indefinitely, you have to use htcacheclean from
112
the apache2-utils package. There is currently no mechanism in the Debian
113
package to start htcacheclean automatically. See the htcacheclean man page for
110
To ensure that the disk cache does not grow indefinitely, htcacheclean is
111
started when mod_disk_cache is enabled. Both daemon and cron (daily) mode
112
are supported. The configuration (run mode, cache size, ...) in
113
/etc/default/apache2 .
115
Normally, htcacheclean is automatically started and stopped by
116
/etc/init.d/apache2. However, if you change the state of mod_disk_cache or the
117
configuration of htcacheclean while apache2 is running, you may need to
118
manually start/stop htcacheclean with "/etc/init.d/apache2 start-htcacheclean"
119
or "/etc/init.d/apache2 stop-htcacheclean".