cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: Caching of external documents
Date Tue, 07 May 2002 13:13:14 GMT
> From: John Gilbertson []
> On Fri, 3 May 2002, Vadim Gritsenko wrote:
> >> The cached version it's using was me trying in work yesterday..
> >> morning it's still using that cached version, even though it's
> >> requesting the file each time I request the page from it.
> >
> >Check last modified time in the HTTP response of your
> > server. Cocoon will use cached version if
> >reports that file was not modified. See Cocoon's,
> >getLastModified method.
> Unfortunately, the Zope server doesn't seem to return a last-modified
> header with a page. Does this mean that Cocoon will always assume that
> it's not modified, without checking the contents?

Cocoon will assume that it is always modified, and this effectively
disables any caching.

> Barring editing the source, is it possible to put some directive
> somewhere saying re-get it no matter what?

Comment out getLastModified() method in URLSource - default
implementation always returns 0 meaning that no last modification date


> --
> John Gilbertson

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message