SOURCES: apache-mod_cache.conf (NEW) - new

glen glen at pld-linux.org
Sun Dec 18 21:27:35 CET 2005


Author: glen                         Date: Sun Dec 18 20:27:35 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   apache-mod_cache.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apache-mod_cache.conf
diff -u /dev/null SOURCES/apache-mod_cache.conf:1.1
--- /dev/null	Sun Dec 18 21:27:35 2005
+++ SOURCES/apache-mod_cache.conf	Sun Dec 18 21:27:30 2005
@@ -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>
================================================================



More information about the pld-cvs-commit mailing list