]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_cache.conf
- typo
[packages/apache.git] / apache-mod_cache.conf
index 6fbe8c9bc609ffa8bdc5095c646b4a6a6d2a6583..b6a3250dafae5025b1bd8fd69362a618c9b833bf 100644 (file)
@@ -5,25 +5,24 @@ LoadModule cache_module       modules/mod_cache.so
 #
 
 <IfModule mod_cache.c>
-       #LoadModule disk_cache_module modules/mod_disk_cache.so
-       # If you want to use mod_disk_cache instead of mod_mem_cache,
-       # uncomment the line above and comment out the LoadModule line below.
-       <IfModule mod_disk_cache.c>
-               CacheRoot "/var/cache/apache"
+       LoadModule cache_disk_module modules/mod_cache_disk.so
+       LoadModule cache_socache_module modules/mod_cache_socache.so
+
+       # prevent apache from cacheing cookies
+       CacheIgnoreHeaders Set-Cookie
+
+       <IfModule mod_cache_disk.c>
+               CacheRoot "/var/cache/httpd"
                CacheEnable disk /
                CacheDirLevels 5
                CacheDirLength 3
-       </IfModule> 
 
-       LoadModule mem_cache_module modules/mod_mem_cache.so
-       <IfModule mod_mem_cache.c>
-               CacheEnable mem /
-               MCacheSize 4096
-               MCacheMaxObjectCount 100
-               MCacheMinObjectSize 1
-               MCacheMaxObjectSize 2048
+#              CacheDefaultExpire 3600
+#              CacheMinExpire 3600
+#              CacheMinFileSize 64
+#              CacheMaxFileSize 64000
        </IfModule>
 
        # When acting as a proxy, don't cache the list of security updates
-       CacheDisable http://security.update.server/update-list/
+#      CacheDisable http://security.update.server/update-list/
 </IfModule>
This page took 0.030585 seconds and 4 git commands to generate.