Cleanup caching config options
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 23 Nov 2010 18:18:16 +0000 (11:18 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 23 Nov 2010 18:35:48 +0000 (11:35 -0700)
horde/config/conf.xml

index 87e7a18..3af806d 100644 (file)
   <configsection name="cache">
    <configheader>Cache System Settings</configheader>
    <configinteger name="default_lifetime" desc="How long, in seconds, should
-   objects be cached by default?">86400</configinteger>
+   data be cached by default?">86400</configinteger>
    <configswitch name="driver" desc="If you want to enable the Horde Cache,
    select a driver here. This is used to speed up portions of Horde by storing
    commonly processed objects.">file
-    <case name="Null" desc="Don't cache any objects"/>
+    <case name="Null" desc="Don't cache any data"/>
     <case name="Apc" desc="Use the APC cache">
      <configsection name="params">
       <configstring name="prefix" required="false" desc="The prefix to use for
       cache entries."/>
      </configsection>
     </case>
-    <case name="File" desc="Store objects in filesystem">
+    <case name="File" desc="Store data in filesystem">
      <configsection name="params">
       <configstring name="dir" required="false" desc="The location to store the
       cached files"/>
    </configswitch>
   </configsection>
 
-  <configheader>Javascript Caching</configheader>
-  <configswitch name="cachejs" desc="Cache static javascript and combine into
-  a single page for delivery to the browser?">false
+  <configheader>CSS Caching</configheader>
+  <configdescription>
+   CSS caching packages all stylesheets used in a page into a single file
+   sent to the browser. It also allows compression and optimization of this
+   file to reduce the data size. Caching reduces server load, speeds up the
+   user's browsing experience, and is HIGHLY RECOMMENDED.
+  </configdescription>
+  <configswitch name="cachecss" desc="Cache CSS?">false
    <case name="false" desc="No" />
    <case name="true" desc="Yes">
-    <configsection name="cachejsparams">
+    <configsection name="cachecssparams">
      <configswitch name="driver" desc="How should we store the cached data?">
       <case name="filesystem" desc="Filesystem (recommended)">
        <configdescription>
       </case>
       <case name="horde_cache" desc="Horde_Cache">
        <configdescription>
-        &lt;strong&gt;Requires a configured Horde_Cache backend.&lt;/strong&gt;
+        &lt;strong&gt;Requires a configured Horde caching
+        backend.&lt;/strong&gt;
        </configdescription>
       </case>
      </configswitch>
-     <configinteger name="lifetime" desc="Lifetime, in seconds, after which
-     the garbage collector will remove static javascript
-     files.">86400</configinteger>
+     <configinteger name="lifetime" desc="Lifetime of the cached files, in
+     seconds.">86400</configinteger>
      <configswitch name="compress" desc="How should we compress the static
      cached files?">php
       <case name="none" desc="No compression" />
-      <case name="php" desc="Built-in compressor (Medium compression, good
+      <case name="php" desc="Built-in compressor (Good compression, good
       speed)" />
-      <case name="yui" desc="YUI Compressor (Best compression, slowest
-      speed)">
-       <configstring name="javapath" desc="The path to the Java
-       application launcher.">/opt/java/jre/bin/java</configstring>
-       <configstring name="yuipath" desc="The path to the YUI compressor
-       .jar file"></configstring>
-      </case>
-      <case name="closure" desc="Google Closure Compiler (Best compression,
-      slowest speed)">
-       <configstring name="javapath" desc="The path to the Java
-       application launcher.">/opt/java/jre/bin/java</configstring>
-       <configstring name="closurepath" desc="The path to the Closure compiler
-       .jar file"></configstring>
-      </case>
      </configswitch>
     </configsection>
    </case>
   </configswitch>
 
-  <configheader>CSS Caching</configheader>
-  <configswitch name="cachecss" desc="Cache static CSS and combine into
-  a single page for delivery to the remote browser?">false
+  <configheader>Javascript Caching</configheader>
+  <configdescription>
+   Javascript caching packages all static javascript files used in a page into
+   more efficient chunks to send to the browser. It also allows compression
+   and optimizations of this file to reduce the data size. Caching reduces
+   server load, speeds up the user's browsing experience, and is HIGHLY
+   RECOMMENDED.
+  </configdescription>
+  <configswitch name="cachejs" desc="Cache javascript?">false
    <case name="false" desc="No" />
    <case name="true" desc="Yes">
-    <configsection name="cachecssparams">
+    <configsection name="cachejsparams">
      <configswitch name="driver" desc="How should we store the cached data?">
       <case name="filesystem" desc="Filesystem (recommended)">
        <configdescription>
       </case>
       <case name="horde_cache" desc="Horde_Cache">
        <configdescription>
-        &lt;strong&gt;Requires a configured Horde_Cache backend.&lt;/strong&gt;
+        &lt;strong&gt;Requires a configured Horde caching
+        backend.&lt;/strong&gt;
        </configdescription>
       </case>
      </configswitch>
-     <configinteger name="lifetime" desc="Lifetime, in seconds, after which
-     the garbage collector will remove static CSS files.">86400</configinteger>
-     <configswitch name="compress" desc="How should we compress the static
-     cached files?">php
+     <configswitch name="compress" desc="How should we compress the cached
+     files?">php
       <case name="none" desc="No compression" />
-      <case name="php" desc="Built-in compressor (Good compression, good
+      <case name="php" desc="Built-in compressor (Medium compression, good
       speed)" />
+      <case name="yui" desc="YUI Compressor (Best compression, slowest
+      speed)">
+       <configstring name="javapath" desc="The path to the Java
+       application launcher.">/opt/java/jre/bin/java</configstring>
+       <configstring name="yuipath" desc="The path to the YUI compressor
+       .jar file"></configstring>
+      </case>
+      <case name="closure" desc="Google Closure Compiler (Best compression,
+      slowest speed)">
+       <configstring name="javapath" desc="The path to the Java
+       application launcher.">/opt/java/jre/bin/java</configstring>
+       <configstring name="closurepath" desc="The path to the Closure compiler
+       .jar file"></configstring>
+      </case>
      </configswitch>
+     <configinteger name="lifetime" desc="Lifetime of the cached files, in
+     seconds.">86400</configinteger>
     </configsection>
    </case>
   </configswitch>