From: Elan Ruusamäe Date: Sun, 18 Dec 2005 20:27:30 +0000 (+0000) Subject: - new X-Git-Tag: auto/ac/apache-2_2_0-1~21 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=cfb5a222d5e0a0dc3795deb25c9b3baa94ceddb7;hp=aff55ca51c55c35ce8a55b720ee64718c06586d9;p=packages%2Fapache.git - new Changed files: apache-mod_cache.conf -> 1.1 --- diff --git a/apache-mod_cache.conf b/apache-mod_cache.conf new file mode 100644 index 0000000..6fbe8c9 --- /dev/null +++ b/apache-mod_cache.conf @@ -0,0 +1,29 @@ +LoadModule cache_module modules/mod_cache.so + +# +# Sample Cache Configuration +# + + + #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. + + CacheRoot "/var/cache/apache" + CacheEnable disk / + CacheDirLevels 5 + CacheDirLength 3 + + + LoadModule mem_cache_module modules/mod_mem_cache.so + + CacheEnable mem / + MCacheSize 4096 + MCacheMaxObjectCount 100 + MCacheMinObjectSize 1 + MCacheMaxObjectSize 2048 + + + # When acting as a proxy, don't cache the list of security updates + CacheDisable http://security.update.server/update-list/ +