From 196b24c83cbf5eb99787303acfdcda1f54cad70a Mon Sep 17 00:00:00 2001
From: Jim Jagielski
Date: Fri, 21 Oct 2016 18:32:44 +0000
Subject: [PATCH] Some caching info
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1766097 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/caching.xml | 57 ++++++++++++++++++++++++++++++++++++++++-
1 file changed, 56 insertions(+), 1 deletion(-)
diff --git a/docs/manual/caching.xml b/docs/manual/caching.xml
index 9a7112e5d5..a6c60276d5 100644
--- a/docs/manual/caching.xml
+++ b/docs/manual/caching.xml
@@ -425,6 +425,28 @@ Vary: negotiate,accept-language,accept-charset
to decide on which of many variants to return to the client.
+
+
+
+
+ Cache Setup Examples
+
+
+
+ mod_cache
+ mod_cache_disk
+ mod_cache_socache
+ mod_socache_memcache
+
+
+ CacheEnable
+ CacheRoot
+ CacheDirLevels
+ CacheDirLength
+ CacheSocache
+
+
+
Caching to Disk
@@ -544,11 +566,44 @@ CacheDirLength 1
leave enough "grow room" following a clean.
+
+ Caching to memcached
+
+ The mod_cache_socache and mod_socache_memcache
+ modules are used to specify that the backend storage mechanism to be used
+ to store and return cached data in the memcached
server.
+
+ Typically the module will be configured as so;
+
+
+CacheEnable socache /
+CacheSocache memcache:memcd.example.com:11211
+
+
+ Additional memcached
servers can be specified by
+ appending them to the end of the CacheSocache memcache:
+ line seperated by commas.
+
+ This format is also used with the other various mod_cache_socache
+ providers. For example:
+
+
+CacheEnable socache /
+CacheSocache shmcb:/path/to/datafile(512000)
+
+
+
+CacheEnable socache /
+CacheSocache dbm:/path/to/datafile
+
+
+
+
- Two-state Key/Value Shared Object Caching
+ General Two-state Key/Value Shared Object Caching
--
2.40.0