cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: Client-side cache handling
Date Mon, 23 Jul 2007 10:01:54 GMT
Hello,

you can easily achieve this by setting an expires parameter in the reader. This will do exactly
what you want 

Regards Ard

> Hi all
> 
> Is there an established way, recommended way, ad-hoc 
> component or sample
> about manually controlling the client-side cache?
> 
> I'm serving the css for some pages as a unified, 
> space-stripped, virtual
> css file.  This speeds up page loading a bit, especially when the
> original css files are many and small.
> 
> Unfortunately it means that Cocoon won't send a Last-Modified header
> anymore (it seems to me that only readers do so), the browser 
> won't put
> If-Modified-Since in the following requests and the css bundle will be
> downloaded time and again.
> 
> I'm looking for a way to tell Cocoon: "this pipeline only depends on
> these resources, so please compute and send a Last-Modified header".
> 
> Any idea?
> 
> Should I do it by hand in a piece of flowscript?
> 
> 
> Tobia
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

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


Mime
View raw message