Author: rgardler
Date: Mon Jul 24 04:14:00 2006
New Revision: 425010

URL: http://svn.apache.org/viewvc?rev=425010&view=rev
Log:
cache generation of sitemap snippets from DOAP files to prevent repetitive 
requests for remote resources. This reduced my build time from 4:08 to 0:44. 
Fixed FOR-910

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap

Modified: 
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
URL: 
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap?rev=425010&r1=425009&r2=425010&view=diff
==============================================================================
--- 
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap 
(original)
+++ 
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap 
Mon Jul 24 04:14:00 2006
@@ -30,6 +30,13 @@
         <encoding>ISO-8859-1</encoding>
       </map:serializer>
     </map:serializers>
+    
+    <map:pipes>
+      <map:pipe name="navigation"
+        
src="org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline">
+        <parameter name="cache-expires" value="600"/> <!-- Expires in seconds 
-->
+      </map:pipe>
+    </map:pipes>
   </map:components>
 
   <map:pipelines>
@@ -192,7 +199,9 @@
         <map:transform src="{lm:transform.html.document}"/>
         <map:serialize type="xml-document"/>
       </map:match>
-      
+    </map:pipeline>
+    
+    <map:pipeline type="navigation">
       <!-- ================================================================ -->
       <!-- Site.xml snippets                                                -->
       <!-- ================================================================ -->