You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tobia Conforto <to...@linux.it> on 2007/07/23 11:00:51 UTC

Client-side cache handling

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