[opencms-dev] Refresh problem
Alexander Kandzior
alex at opencms.org
Fri Jul 23 09:57:01 CEST 2004
Right, I will add these (or similar) headers to the workplace dynamic pages.
I will however set these in the workplace classes, not on the individual JSP
files.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/>
-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Tristan Tarrant
Sent: Friday, July 23, 2004 9:51 AM
To: OpenCMS
Subject: [opencms-dev] Refresh problem
Hi opencms devs,
I was thinking about the refresh problem I have been having with the CVS
version.
Adding the following headers:
<meta Http-Equiv="Cache-Control" Content="no-cache">
<meta Http-Equiv="Pragma" Content="no-cache">
<meta Http-Equiv="Expires" Content="0">
to the pageHtml() method of CmsReport and CmsWorkplace and in each
mainpage.txt file of the editors and in the files in workplace/jsp should be
enough and not affect other functions of the system (preview, etc)
What do you think ?
I don't like having to change the preferences of the browser which affect
all sites just because one site cannot properly handle the cache headers. I
do want caching on images, etc
Tristan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040723/a2ca7165/attachment.htm>
More information about the opencms-dev
mailing list