]>
Commit | Line | Data |
---|---|---|
1 | LoadModule cache_module modules/mod_cache.so | |
2 | ||
3 | # | |
4 | # Sample Cache Configuration | |
5 | # | |
6 | ||
7 | <IfModule mod_cache.c> | |
8 | LoadModule cache_disk_module modules/mod_cache_disk.so | |
9 | ||
10 | # prevent apache from cacheing cookies | |
11 | CacheIgnoreHeaders Set-Cookie | |
12 | ||
13 | <IfModule mod_cache_disk.c> | |
14 | CacheRoot "/var/cache/httpd" | |
15 | CacheEnable disk / | |
16 | CacheDirLevels 5 | |
17 | CacheDirLength 3 | |
18 | ||
19 | # CacheDefaultExpire 3600 | |
20 | # CacheMinExpire 3600 | |
21 | # CacheMinFileSize 64 | |
22 | # CacheMaxFileSize 64000 | |
23 | </IfModule> | |
24 | ||
25 | # When acting as a proxy, don't cache the list of security updates | |
26 | # CacheDisable http://security.update.server/update-list/ | |
27 | </IfModule> |