> From: Markus Alin [mailto:[EMAIL PROTECTED]] > > ..... regarding cashing of images. > > I use a SVG image in shape of a piechart which is serialized into a jpeg and > displayed in a serialized html page. > Upon submitting the HTML page with choosen parameters, the same HTML page > will be shown again but with different text and a new shape of the SVG > piechart. However this is not the case while the image seems to be cashed, > and only upon clicking the refresh button in the browser the new image will > be displayed. Do anyone know how to turn this cashing of images off in > cocoon 2.
Cocoon 2 can not turn of caching of images in your browser (and, it is clear from your email, that caching occurs in the browser). However, you can set some headers using action (try HttpHeaderAction) which will help you disable browser's cache (and proxy's cache). These are: Expires: 0 Pragma: no-cache Read also about IE: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234067 PS Is it FAQ? PPS This answer applies to 2.0.3 and 2.1, but 2.1 will have ability to set expires header on pipeline level. Vadim > Thanx for your help!! > > Regards, Markus > > > _____ > > Markus Alin tel: +41 1 455 70 08 > Swissrisk AG fax: +41 1 455 70 01 > Räffelstrasse 32 mobile: +41 79 706 58 90 > 8045 Zürich mail: [EMAIL PROTECTED] > Switzerland home: www.swissrisk.com > _____ --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>