> From: John Gilbertson [mailto:[EMAIL PROTECTED]] > > On Fri, 3 May 2002, Vadim Gritsenko wrote: > > >> The cached version it's using was me trying in work yesterday.. this > >> 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 > >www.compsoc.man.ac.uk server. Cocoon will use cached version if server > >reports that file was not modified. See Cocoon's URLSource.java, > >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 known. Vadim > -- > John Gilbertson --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>