]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_cache.conf
- from upstream, prefork: log an error instead of segfaulting when child
[packages/apache.git] / apache-mod_cache.conf
CommitLineData
cfb5a222
ER
1LoadModule cache_module modules/mod_cache.so
2
3#
4# Sample Cache Configuration
5#
6
7<IfModule mod_cache.c>
cfb5a222 8 # If you want to use mod_disk_cache instead of mod_mem_cache,
09564747
ER
9 # just swap the two loadmodule comments.
10# LoadModule disk_cache_module modules/mod_disk_cache.so
11 LoadModule mem_cache_module modules/mod_mem_cache.so
12
cfb5a222 13 <IfModule mod_disk_cache.c>
4654beb1 14 CacheRoot "/var/cache/httpd"
cfb5a222
ER
15 CacheEnable disk /
16 CacheDirLevels 5
17 CacheDirLength 3
b041d9eb 18
09564747
ER
19# CacheDefaultExpire 3600
20# CacheMinExpire 3600
21# CacheMinFileSize 64
22# CacheMaxFileSize 64000
23 </IfModule>
cfb5a222 24
cfb5a222
ER
25 <IfModule mod_mem_cache.c>
26 CacheEnable mem /
27 MCacheSize 4096
28 MCacheMaxObjectCount 100
29 MCacheMinObjectSize 1
30 MCacheMaxObjectSize 2048
31 </IfModule>
32
33 # When acting as a proxy, don't cache the list of security updates
7a615bab 34# CacheDisable http://security.update.server/update-list/
cfb5a222 35</IfModule>
This page took 0.028294 seconds and 4 git commands to generate.