cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: How can I empty the cache?
Date Tue, 24 Jan 2006 20:04:24 GMT
in your components define

<map:actions>
   <map:action name="clear-cache" logger="sitemap.action.clear-cache"    		src="org.apache.cocoon.acting.ClearCacheAction"/>
</map:actions>


and 

<map:match pattern="clearcache.html">
   <map:act type="clear-cache">
      <map:generate src="status" type="status"/>
      <map:serialize type="xml"/>
   </map:act>
</map:match>

AS

> 
> 
> Hi!
>  
> I wrote a generator supplying me with some XML-Data from a Database.
> To speed up everything I implemented the Cocoon-Caching 
> mechanism. There I
> test, if something in the database has changed. If not, the 
> data is called
> from cache.
>  
> Everything worked fine here. But I'm still developing and so 
> today I changed
> something in the way the XML is presented to cocoon 
> (rearranged some tags). 
> I also adjusted the XSL-File that's used for processing the data.
>  
> The problem now is, that the database-data hasn't changed and 
> so there is
> always the old data called from cache. 
>  
> So, how can I delete this old information from cache? 
>  
> Thanks,
>  
> Barthi
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

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


Mime
View raw message