cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Kingsbury" <>
Subject RE: Caching a file generator which gets content from a URL?
Date Fri, 02 May 2003 19:13:57 GMT
Pardon the potentially dumb question(s):

1. A servlet would be responsible for setting this, yes? I assume it
defaults to present date/time but the servlet author could override

2. Assume Cocoon caches the current request to URL 'foo.' Now another
request comes in, which evaluates to the same URL. Now Cocoon tries to
see if it can use the cached content. To do so, it calls 'foo' and
inspects its last-modified-since. In my case, I am trying to avoid
making an expensive call to the servlet (which will access an underlying
low-performance system), which this doesn't seem to avoid?


-----Original Message-----
From: Tony Collen [] 
Sent: Friday, May 02, 2003 2:53 PM
Subject: Re: Caching a file generator which gets content from a URL?

On Fri, 2 May 2003, Colin Kingsbury wrote:

> AFAICT the caching pipeline with File Transformer will cache based on
> the modified date of the file, but ifd the file isn't a file, what
> will it do?

Well, I could be wrong, but I think Cocoon would check the
last-modified-since header coming from the HTTP server to see if it
a newer version.


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

View raw message