cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Radzki" <arad...@wp.pl>
Subject cache problem
Date Wed, 06 Aug 2003 18:38:34 GMT
Hello!

I have a serious problem with caching whole pipelines which contains
i18n transformer and 'expires' map parameter.

Here is a part of my sitemap:

<map:pipelines>
   <map:pipeline>
      <map:parameter name="expires" value="access plus 1 days"/>
          <map:act type="locale">
              <map:match pattern="index_llf">
                  <map:generate src="xml/index.xml"/>
                   <map:transform type="i18n">
                       <map:parameter name="locale"
value="{../locale}"/>
                   </map:transform>
                   <map:transform src="xsl/index_cf.xsl"/>
                   <map:serialize type="xml"/>
              </map:match>
              ...
              ...
         </map:act>
   </map:pipeline>
</map:pipelines>

The response of cocoon depends only on URL parameters.. or maybe not,
but the tomcat's cache holds wrong data (??). 

How to make cocoon to generate and cache different content which depends
on URL parameters and value of variable 'locale'???

Cocoon 2.1m3 
Tomcat4.1.24

AR 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message