[Zope] help!!! problem with caching zope generated pages

Dieter Maurer dieter@handshake.de
Fri, 31 Aug 2001 18:46:06 +0200 (CEST)


Robert Rottermann writes:
 > ... caching problem ...
 > I allredy have added the following two lines to the header to no avail:
 >   <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
 >   <META HTTP-EQUIV="Expires" CONTENT="-1">
"Expires" does not accept an integer but requires an
RFC822 date in the GMT timezone.

Moreover, it is much safer to use

	  RESPONSE.setHeader('Expires',....)

because many HTTP agents do not bother to parse the
header to find the "HTTP-EQUIV" declarations.



Dieter