cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Pipeline 'expires' parameter
Date Wed, 10 Dec 2003 13:48:59 GMT
Hi All

I am attempting to use the Pipeline's 'expires' parameter to trigger 
Browser Caching.

This has worked before, but for some reason makes no difference now ....

<map:pipeline>
   <map:parameter name="expires" value="access plus 1 days"/>

   <map:match pattern="">
     <map:redirect-to uri="cocoon:/index(0).html"/>
   </map:match>

   <map:match pattern="index(*).html">
     <map:call function="index">
       <map:parameter name="screen" value="screen/index"/>
       <map:parameter name="page" value="{1}"/>
       <map:parameter name="size" value="20"/>
     </map:call>
   </map:match>

   . . .

</map:pipeline>


Any Suggestions?

regards Jeremy 
Mime
View raw message