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: caching
Date Thu, 27 Feb 2003 11:28:37 GMT
Reinhard Pötz wrote:
> > > Do you know whether there is some mechanism to get the old
> > (=expired)
> > > content if the external source is not available after it expired?
> > >
> > No, it's not possible.
>
> At which 'level' would you solve that problem? Would you write a special
> generator?
>
Yes, exactly.

But I'm not sure if this is a good solution. If the external source
is not available, you usually get a timeout (4 or 5 minutes?). So, you
have to wait for this timeout and then serve from the cache; this time
is too long for the casual user.

I would suggest that you always serve from the cache even if the content
has expired. If it has expired you will the cache in the background.
This can be done in a special generator as well.

Carsten


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


Mime
View raw message