]> git.pld-linux.org Git - packages/apache.git/blob - apache-mod_cache.conf
- resolve conflicting cache dir
[packages/apache.git] / apache-mod_cache.conf
1 LoadModule cache_module modules/mod_cache.so
2
3 #
4 # Sample Cache Configuration
5 #
6
7 <IfModule mod_cache.c>
8         #LoadModule disk_cache_module modules/mod_disk_cache.so
9         # If you want to use mod_disk_cache instead of mod_mem_cache,
10         # uncomment the line above and comment out the LoadModule line below.
11         <IfModule mod_disk_cache.c>
12                 CacheRoot "/var/cache/httpd"
13                 CacheEnable disk /
14                 CacheDirLevels 5
15                 CacheDirLength 3
16         </IfModule> 
17
18         LoadModule mem_cache_module modules/mod_mem_cache.so
19         <IfModule mod_mem_cache.c>
20                 CacheEnable mem /
21                 MCacheSize 4096
22                 MCacheMaxObjectCount 100
23                 MCacheMinObjectSize 1
24                 MCacheMaxObjectSize 2048
25         </IfModule>
26
27         # When acting as a proxy, don't cache the list of security updates
28 #       CacheDisable http://security.update.server/update-list/
29 </IfModule>
This page took 0.040752 seconds and 4 git commands to generate.