cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: Cache control on XML pages
Date Sun, 10 Dec 2000 22:19:57 GMT
Anthony Ikeda <> wrote:
>In JSP it seems to be no problem setting the cache control on a page:
>	response.setHeader("Cache-Control","max-age=0");
>Can the same thing be done for XML transformations in Cocoon?

Yes. You need to be using XSP.

Put this INSIDE, I repeat, INSIDE, your <page> root element (or whatever 
your root element happens to be).


However, I didn't know that that would be necessary with XSP, because with 
XSP, no Last-Modified header is sent, so (in my experience) it isn't cached 

Get more from the Web.  FREE MSN Explorer download :

View raw message