[Zope] really really refresh?

Alex Rice alrice@swcp.com
Sat, 19 Jun 1999 10:31:58 -0600 (MDT)


On Sat, 19 Jun 1999 10:59:19 -0400,
"Robert O'Connor" <bob@rocnet.com> said:

Robert> ***Food for thought that others may comment on.  Is there a way
Robert> for the image or html files served by zope to serve them with a
Robert> new date/time every time served rather than their "file date".
Robert> Can the current system time and date be used?  If so, then the
Robert> browser would be fooled into thinking that the image or html is
Robert> new?

You can use the http Expires header to force the browser to not cache

Expires: 0
Pragma: no-cache

I think this combination works pretty well for that.

Alex Rice    |    alrice@swcp.com    |    http://www.swcp.com/~alrice
    Current Location: N. Rio Grande Bioregion, Southwestern USA