svn commit: r570469 - in /lenya/trunk/src: modules/svg/sitemap.xmap webapp/global-sitemap.xmap webapp/lenya/lenya.xmap webapp/lenya/resources-shared.xmap webapp/lenya/resources.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Aug 28 09:18:31 2007
New Revision: 570469

URL: http://svn.apache.org/viewvc?rev=570469&view=rev
Log:
Use global parameter for pipeline expiration

Modified:
    lenya/trunk/src/modules/svg/sitemap.xmap
    lenya/trunk/src/webapp/global-sitemap.xmap
    lenya/trunk/src/webapp/lenya/lenya.xmap
    lenya/trunk/src/webapp/lenya/resources-shared.xmap
    lenya/trunk/src/webapp/lenya/resources.xmap

Modified: lenya/trunk/src/modules/svg/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/svg/sitemap.xmap?rev=570469&r1=570468&r2=570469&view=diff
==============================================================================
--- lenya/trunk/src/modules/svg/sitemap.xmap (original)
+++ lenya/trunk/src/modules/svg/sitemap.xmap Tue Aug 28 09:18:31 2007
@@ -27,7 +27,7 @@
     
     <map:pipeline>
       <!-- enable client side caching of resources -->
-      <map:parameter name="expires" value="access plus 2 hours"/>
+      <map:parameter name="expires" value="{global:pipeline-expiration}"/>
       
       <!--
         Views for shape flowscripts.

Modified: lenya/trunk/src/webapp/global-sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/global-sitemap.xmap?rev=570469&r1=570468&r2=570469&view=diff
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Tue Aug 28 09:18:31 2007
@@ -105,6 +105,12 @@
            | These values are inherited into sub-sitemaps and can
            | be extended there.
            +-->
+      
+      <!-- pipeline expiration, see http://httpd.apache.org/docs/2.0/mod/mod_expires.html for syntax documentation -->
+      <pipeline-expiration>now</pipeline-expiration>
+      <!--
+        <pipeline-expiration>access plus 2 hours</pipeline-expiration>
+      -->
     </global-variables>
   </map:component-configurations>
 

Modified: lenya/trunk/src/webapp/lenya/lenya.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/lenya.xmap?rev=570469&r1=570468&r2=570469&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/lenya.xmap (original)
+++ lenya/trunk/src/webapp/lenya/lenya.xmap Tue Aug 28 09:18:31 2007
@@ -34,6 +34,9 @@
   <map:pipelines>
     
     <map:pipeline>
+      <!-- enable client side caching of resources -->
+      <map:parameter name="expires" value="{global:pipeline-expiration}"/>
+      
       <!-- Lenya Core -->
       
       <!-- matches lenya/**.js -->

Modified: lenya/trunk/src/webapp/lenya/resources-shared.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/resources-shared.xmap?rev=570469&r1=570468&r2=570469&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources-shared.xmap (original)
+++ lenya/trunk/src/webapp/lenya/resources-shared.xmap Tue Aug 28 09:18:31 2007
@@ -32,7 +32,10 @@
   </map:resources>
   
   <map:pipelines>
+    
     <map:pipeline>
+      <!-- enable client side caching of resources -->
+      <map:parameter name="expires" value="{global:pipeline-expiration}"/>
       
       <!-- Lenya Publications -->
       

Modified: lenya/trunk/src/webapp/lenya/resources.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/resources.xmap?rev=570469&r1=570468&r2=570469&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources.xmap (original)
+++ lenya/trunk/src/webapp/lenya/resources.xmap Tue Aug 28 09:18:31 2007
@@ -33,6 +33,7 @@
   
   <map:pipelines>
     <map:pipeline>
+      <map:parameter name="expires" value="{global:pipeline-expiration}"/>
       
       <!-- Lenya Publications -->      
           <!-- matches pub-id/area/css/*.css -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.