]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Provide a hint to those stuck with mod_mem_cache about coping with the per-process...
authorEric Covener <covener@apache.org>
Sun, 13 Sep 2009 13:44:15 +0000 (13:44 +0000)
committerEric Covener <covener@apache.org>
Sun, 13 Sep 2009 13:44:15 +0000 (13:44 +0000)
Add detail about another deficiency relative to disk_cache [1 variant at a time].

PR 47783
Reported By: Stoehr Sukachevin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@814313 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_mem_cache.html.en
docs/manual/mod/mod_mem_cache.xml

index ab356a674c4e372e7a82120276eac8783d4a542e..ec6b736dcce590538c696d1eab174de9b2c2a31e 100644 (file)
     
     <div class="note"><h3>Note</h3>In most cases <code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code>
     should be the preferred choice. This is explained further in the <a href="../caching.html#inmemory">Caching Guide</a>.  In particular,
-    this module's cache is <em>per-process</em>.</div>
+    this module's cache is <em>per-process</em>, which can be partially
+    mitigated by configuring threaded MPMS to use fewer child processes
+    via configuration of larger values for <code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code>.  This module's cache is 
+    also limited to storing a single variant (see HTTP Vary: header) of each 
+    resource in the cache.</div>
 </div>
 <div id="quickview"><h3 class="directives">Directives</h3>
 <ul id="toc">
index 2016c54da2adbf05d8b4160fc0fc87d5d49ab272..34886309e4a34253d77c098a05350e856d44fd25 100644 (file)
     <note><title>Note</title>In most cases <module>mod_disk_cache</module>
     should be the preferred choice. This is explained further in the <a
     href="../caching.html#inmemory">Caching Guide</a>.  In particular,
-    this module's cache is <em>per-process</em>.</note>
+    this module's cache is <em>per-process</em>, which can be partially
+    mitigated by configuring threaded MPMS to use fewer child processes
+    via configuration of larger values for <directive 
+    module="mpm_common">ThreadsPerChild</directive>.  This module's cache is 
+    also limited to storing a single variant (see HTTP Vary: header) of each 
+    resource in the cache.</note>
 </summary>
 <seealso><module>mod_cache</module></seealso>
 <seealso><module>mod_disk_cache</module></seealso>