[deployment-guide/comm-rel: 488/727] Updated the CacheEnable directive description.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:05:54 UTC 2010


commit d1ad0901a48c1fc0144a1a76132b3b4efcbd0e3d
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Wed Aug 25 15:33:24 2010 +0200

    Updated the CacheEnable directive description.

 en-US/The_Apache_HTTP_Server.xml |   69 ++++++++++++++++++++++++++++++++-----
 1 files changed, 59 insertions(+), 10 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 9bdfe8f..5d8aff8 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -582,19 +582,68 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>CacheEnable</option></term>
+          <listitem>
+            <para>
+              The <option>CacheEnable</option> directive allows you to specify a cache type to use for certain URLs. It takes the following form:
+            </para>
+            <screen>CacheEnable <replaceable>type</replaceable> <replaceable>url</replaceable></screen>
+            <para>
+              See <xref linkend="table-apache-httpdconf-cacheenable" /> for a list of valid <replaceable>type</replaceable> options.
+            </para>
+            <table id="table-apache-httpdconf-cacheenable">
+              <title>Available cache types</title>
+              <tgroup cols="2">
+                <colspec colname="type" colnum="1" colwidth="20*" />
+                <colspec colname="description" colnum="2" colwidth="60*" />
+                <thead>
+                  <row>
+                    <entry>
+                      Type
+                    </entry>
+                    <entry>
+                      Description
+                    </entry>
+                  </row>
+                </thead>
+                <tbody>
+                  <row>
+                    <entry>
+                      <option>mem</option>
+                    </entry>
+                    <entry>
+                      The memory-based storage manager.
+                    </entry>
+                  </row>
+                  <row>
+                    <entry>
+                      <option>disk</option>
+                    </entry>
+                    <entry>
+                      The disk-based storage manager.
+                    </entry>
+                  </row>
+                  <row>
+                    <entry>
+                      <option>fd</option>
+                    </entry>
+                    <entry>
+                      The file descriptor cache.
+                    </entry>
+                  </row>
+                </tbody>
+              </tgroup>
+            </table>
+            <example id="example-apache-httpdconf-cacheenable">
+              <title>Using the <option>CacheEnable</option> directive</title>
+              <screen>CacheEnable disk /</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
       <formalpara id="s2-apache-cachedirectives">
         <title>Cache Directives</title>
-        <indexterm>
-          <primary>proxy server</primary>
-        </indexterm>
-        <indexterm>
-          <primary>cache directives for Apache</primary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary>for cache functionality</secondary>
-        </indexterm>
         <para>
           A number of commented cache directives are supplied by the default Apache HTTP Server configuration file. In most cases, uncommenting these lines by removing the hash mark (<command>#</command>) from the beginning of the line is sufficient. The following, however, is a list of some of the more important cache-related directives.
         </para>


More information about the docs-commits mailing list