]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_cache.conf
- please, man test
[packages/apache.git] / apache-mod_cache.conf
index ffe5ae54afa3a478a87119d887329a1e982ee815..9718fd6dd933d2055ba0734f61a884f1f3abae9b 100644 (file)
@@ -5,23 +5,26 @@ 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.
+       # just swap the two loadmodule comments.
+#      LoadModule disk_cache_module modules/mod_disk_cache.so
+       LoadModule mem_cache_module modules/mod_mem_cache.so
+
+       # prevent apache from cacheing cookies
+       CacheIgnoreHeaders Set-Cookie
+
        <IfModule mod_disk_cache.c>
                CacheRoot "/var/cache/httpd"
                CacheEnable disk /
                CacheDirLevels 5
                CacheDirLength 3
-               
-               #CacheDefaultExpire 3600
-               #CacheMinExpire 3600
-               #CacheMinFileSize 64
-               #CacheMaxFileSize 64000
 
-       </IfModule> 
+#              CacheDefaultExpire 3600
+#              CacheMinExpire 3600
+#              CacheMinFileSize 64
+#              CacheMaxFileSize 64000
+       </IfModule>
 
-       LoadModule mem_cache_module modules/mod_mem_cache.so
        <IfModule mod_mem_cache.c>
                CacheEnable mem /
                MCacheSize 4096
This page took 0.180119 seconds and 4 git commands to generate.