[Zope] Reloading a page.

Tino Wildenhain tino@wildenhain.de
Thu, 08 Mar 2001 16:51:54 +0100


Hi...

... snip ...
> Try putting this in the head of your standard_html_header:
> 
> <dtml-if no_cache>
>    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
> </dtml-if no_cache>

I recommend <dtml-call "RESPONSE.setHeader('pragma','no-cache')">
<dtml-call "RESPONSE.setHeader('Expires',_.DateTime().rfc822()">

for greater effect. (Even with proxies)

> 
> Then set a boolean property on the DTML Document (or folder if it's a
> method) called "no_cache". This should prevent the browser from caching
> the page.

Regards 
Tino