forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r356890 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml
Date Wed, 14 Dec 2005 22:10:31 GMT
Author: rgardler
Date: Wed Dec 14 14:10:25 2005
New Revision: 356890

URL: http://svn.apache.org/viewcvs?rev=356890&view=rev
Log:
clarify caching situation for navigation

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml?rev=356890&r1=356889&r2=356890&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/src/documentation/content/xdocs/index.xml
Wed Dec 14 14:10:25 2005
@@ -53,16 +53,21 @@
           PROJECT_HOME/sitemap.xmap:</p>
           
           <source><![CDATA[
+          
+    <map:pipeline>
+      <map:parameter name="expires" value="access plus 2 hours"/>
+    
       <map:match pattern="locationmap-project.xml">
         <map:generate src="{project:daisy.publisher.URL}blob?documentId={project:daisy.navigation.docID}&amp;version=live&amp;partType=1"/>
         <map:transform src="{forrest:plugins}/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-locationmap.xsl">
           <map:parameter name="publisherURL" value="{project:daisy.publisher.URL}"/>
-          <map:parameter name="pathPrefix" value="{project:daisy.publisher.URL}"/>
+          <map:parameter name="pathPrefix" value="{project:daisy.pathPrefix}"/>
           <map:parameter name="navigationID" value="{project:daisy.navigation.docID}"/>
         </map:transform>
         <map:transform type="xinclude"/>
         <map:serialize type="xml"/>
       </map:match>
+    </map:pipeline>
           ]]></source>
                             
           <p>If your site needs to provide additional locationmap entries it can
@@ -72,11 +77,9 @@
           from the Daisy navigation file. The location of this file can be changed
           by overriding the locationmap pattern <code>daisy.locationmap.include</code>.</p>
         
-          <note>The pipelines that generate the locationmap
-          are cached for 2 hours. This is because it is computationally
-          expensive to regenerate these files. A future version of this plugin will provide
-          a more flexible caching mechanism. But for now you need to force a refresh 
-          during development or override the locationmap match in the plugin sitemap.</note>
+          <note>The pipeline above
+          caches the navigation for 2 hours. This is because it is computationally
+          expensive to regenerate these files.</note>
         </section>
         
         <section>



Mime
View raw message