With a clear cache action you can clear (most) caches.

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

<!-- ... -->
In the pipelines:
                <map:pipeline type="noncaching" internal-only="false">
                        <map:match pattern="clearcache.html">
                                <map:act type="clear-cache">
                                        <map:generate src="status" 
type="status"/>
                                        <map:serialize type="xml"/>
                                </map:act>
                        </map:match>
                </map:pipeline>

Jasha Joachimsthal

---------

Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466 

[EMAIL PROTECTED]
www.hippo.nl


> -----Original Message-----
> From: Daniel Brüßler [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 29 juni 2007 17:47
> To: [email protected]
> Subject: Re: How can I delete the cache in Cocoon 2.1.4?
> 
> 
> sorry, I mixed up the numbers, I mean Cocoon 2.1.4
> 
> Daniel
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Reply via email to