cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Kingsbury" <Co...@empolis-na.com>
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
this?

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?

Best,
-cwk.

-----Original Message-----
From: Tony Collen [mailto:tcollen@neuagency.com] 
Sent: Friday, May 02, 2003 2:53 PM
To: cocoon-users@xml.apache.org
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
ever
> 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
needs
a newer version.

Tony


---------------------------------------------------------------------
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