From: Jim Jagielski
Date: Fri, 21 Oct 2016 18:34:28 +0000 (+0000)
Subject: Merge r1766097 from trunk:
X-Git-Tag: 2.4.24~189
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f480fb6e8a27dd0c8c7c858ad9f7982e0cc2b1b;p=apache
Merge r1766097 from trunk:
Some caching info
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1766098 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/caching.xml b/docs/manual/caching.xml
index f08ed7a77f..feed7b5759 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