]> git.pld-linux.org Git - packages/apache.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 18 Dec 2005 20:27:30 +0000 (20:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_cache.conf -> 1.1

apache-mod_cache.conf [new file with mode: 0644]

diff --git a/apache-mod_cache.conf b/apache-mod_cache.conf
new file mode 100644 (file)
index 0000000..6fbe8c9
--- /dev/null
@@ -0,0 +1,29 @@
+LoadModule cache_module        modules/mod_cache.so
+
+#
+# Sample Cache Configuration
+#
+
+<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"
+               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
+       </IfModule>
+
+       # When acting as a proxy, don't cache the list of security updates
+       CacheDisable http://security.update.server/update-list/
+</IfModule>
This page took 3.367364 seconds and 4 git commands to generate.