cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: CachingURICoplet versus URICoplet and Refresh
Date Thu, 19 Aug 2004 13:47:27 GMT
> 
> Question1:
> I'd like to know if there is another way to refresh 
> CachingURICoplet than setting bookmarks or cl:link evrywhere, 
> or even invalidate the cache. Maybe for that purpose i should 
> use URICoplets ?
> 
You can invalidate the cache "manually" from within flow or
any component using Java.

> Question2:
> Until now i adopted this rule : if i need CForms + Flow 
> (continuation) or internal links that need to be transformed 
> by portal-html-eventlink transformer i use CachingURI 
> Coplets, otherwise i use URI Coplets. Is this a right idea ?
> 
This depends, but basically: yes. The caching uri coplet is a
must for cforms + flow (or for just flow). It caches the content
(or the view) of the coplet until an action is performed in this
coplet. 
The uri coplet does not cache, so each time the page is displayed
the content is fetched from the source again. If this is a heavy
operation it might be wise to cache this content as well either
using the cachinguricoplet or using a usual cocoon pipeline that
uses the cocoon caching mechanism.

HTH
Carsten


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


Mime
View raw message