lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject svn commit: r1078834 - in /lenya/branches/BRANCH_2_1_X/src/webapp/lenya: resources-shared.xmap resources.xmap
Date Mon, 07 Mar 2011 16:26:07 GMT
Author: andreas
Date: Mon Mar  7 16:26:07 2011
New Revision: 1078834

URL: http://svn.apache.org/viewvc?rev=1078834&view=rev
Log:
Set last-modified header for CSS files.

Modified:
    lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources-shared.xmap
    lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources.xmap

Modified: lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources-shared.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources-shared.xmap?rev=1078834&r1=1078833&r2=1078834&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources-shared.xmap (original)
+++ lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources-shared.xmap Mon Mar  7 16:26:07
2011
@@ -22,6 +22,9 @@
   
   <map:resources>
     <map:resource name="proxy-css">
+      <map:act type="set-header">
+        <map:parameter name="Last-Modified" value="{date-iso8601-rfc822:{last-modified:{url}}}"/>
+      </map:act>
       <map:generate type="text" src="{url}.css"/>
       <map:transform type="pattern" src="fallback://lenya/chaperon/grammars/link.xlex"/>
       <map:transform src="fallback://lenya/chaperon/stylesheets/pattern-to-link.xsl"/>

Modified: lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources.xmap?rev=1078834&r1=1078833&r2=1078834&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources.xmap (original)
+++ lenya/branches/BRANCH_2_1_X/src/webapp/lenya/resources.xmap Mon Mar  7 16:26:07 2011
@@ -22,6 +22,9 @@
   
   <map:resources>
     <map:resource name="proxy-css">
+      <map:act type="set-header">
+        <map:parameter name="Last-Modified" value="{date-iso8601-rfc822:{last-modified:{url}}}"/>
+      </map:act>
       <map:generate type="text" src="{url}.css"/>
       <map:transform type="pattern" src="fallback://lenya/chaperon/grammars/link.xlex"/>
       <map:transform src="fallback://lenya/chaperon/stylesheets/pattern-to-link.xsl"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message