Jann Forrer wrote:
I think you should check your browser cache settings to always make a
new request .
I faced the similar problem of caching. we tried many things as
putting http meta tags
on the page2xhtml.xsl but no result. finally we had to set the
browser cache not to cache the pages
that solved the issue.
There is also a cocoon action called
org.apache.cocoon.acting.HttpCacheAction
which is used to add Headers to the http response.
I modified this class in order to test my apache setup wich includes
mod_cache.
In your case, you can try to set the response Header as follows:
response.setHeader("Cache-Control", "no-cache");
Hi Jann.
Which file do I set this in? I'm not using Apache, just Jetty - Lenya
straight outa the box. You mean editing
externals/cocoon_2_1_x/src/java/org/apache/cocoon/acting/HttpCacheAction.java
? Isn't there a config file I could edit, instead of the source code?
thanks, Andrew
Jann
regards,
Roy
-----Original Message-----
From: Andrew Golightly [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 8:24 PM
To: [email protected]
Subject: caching in lenya
Hi everyone,
Does anyone else have the problem of caching in lenya? E.g. you have a
live site, make some changes. And then on visiting the url of the live
site, the changes are not visible. One has to push the refresh button on
the browser a few times for the changes to become visible.
Anyone have a similar issue? Or even better found a solution? :)
Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you
are not an intended recipient then please promptly delete this e-mail
and any attachment and all copies and inform the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zuerich
oooO mail: [EMAIL PROTECTED]
( ) phone: +41 44 63 56772
\ ( fax: +41 44 63 54505
\_) http://www.id.unizh.ch
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]