[Zope] Prevent cache from being loaded in Zope/DTML
Casey Duncan
cduncan@kaivo.com
Tue, 20 Mar 2001 09:13:24 -0700
Mohan Baro wrote:
>
> Hi All,
>
> How do I prevent a page from being loaded from the cache.
>
> I want the following eqiv. in zope/dtml
> <% Response.Expires = 0 %> 'prevent cache from being loaded
>
> Mohan.
>
<dtml-call expr="RESPONSE.setHeader('pragma', 'no-cache')">
<dtml-call expr="RESPONSE.setHeader('expires', '0')">
should do it.
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>