[deployment-guide/comm-rel: 492/727] Updated the CacheLastModifiedFactor directive description.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:06:15 UTC 2010


commit b01bb91d21e5d12b00101ce6b35c464a7112e09a
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Wed Aug 25 17:00:56 2010 +0200

    Updated the CacheLastModifiedFactor directive description.
    
    Jeez, who names these directives? Anyway, I have also modified the
    CacheDefaultExpire directive description to make it easier for a reader
    to tell these two beauties apart.

 en-US/The_Apache_HTTP_Server.xml |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 41e90c4..2b951ee 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -586,7 +586,7 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
           <term><option>CacheDefaultExpire</option></term>
           <listitem>
             <para>
-              The <option>CacheDefaultExpire</option> option allows you to set how long to cache a document that does not have any expiration date specified. It takes the following form:
+              The <option>CacheDefaultExpire</option> option allows you to set how long to cache a document that does not have any expiration date or the date of its last modification specified. It takes the following form:
             </para>
             <screen>CacheDefaultExpire <replaceable>seconds</replaceable></screen>
             <para>
@@ -674,6 +674,22 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
           </listitem>
         </varlistentry>
         <varlistentry>
+          <term><option>CacheLastModifiedFactor</option></term>
+          <listitem>
+            <para>
+              The <option>CacheLastModifiedFactor</option> directive allows you to set how long to cache a document that does not have any expiration date specified, but provides information about the date of its last modification. It takes the following form:
+            </para>
+            <screen>CacheLastModifiedFactor <replaceable>coefficient</replaceable></screen>
+            <para>
+              The <replaceable>coefficient</replaceable> will be used to multiply the time that passed since the last modification of the document. The default option is <literal>0.1</literal> (that is, one tenth).
+            </para>
+            <example id="example-apache-httpdconf-cachelastmodifiedfactor">
+              <title>Using the <option>CacheLastModifiedFactor</option> directive</title>
+              <screen>CacheLastModifiedFactor 0.1</screen>
+            </example>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
           <term><option>CacheRoot</option></term>
           <listitem>
             <para>


More information about the docs-commits mailing list