Commit | Line | Data |
---|---|---|
dd905b90 CE |
1 | <IfModule mod_disk_cache.c> |
2 | # cache cleaning is done by htcacheclean, which can be configured in | |
3 | # /etc/default/apache2 | |
4 | ||
5 | # This path must be the same as the one in /etc/default/apache2 | |
6 | CacheRoot /var/cache/apache2/mod_disk_cache | |
7 | ||
8 | # This will also cache local documents. It usually makes more sense to | |
9 | # put this into the configuration for just one virtual host. | |
10 | ||
11 | #CacheEnable disk / | |
12 | ||
13 | # The result of CacheDirLevels * CacheDirLength must not be higher than | |
14 | # 20. Moreover, pay attention on file system limits. Some file systems | |
15 | # do not support more than a certain number of subdirectories in a | |
16 | # single directory (e.g. 32000 for ext3) | |
17 | CacheDirLevels 2 | |
18 | CacheDirLength 1 | |
19 | ||
20 | # cache files up to ~15M | |
21 | CacheMaxFileSize 17000000 | |
22 | </IfModule> |