[Zope] Set expire date for file

Dieter Maurer dieter@handshake.de
Fri, 27 Apr 2001 20:21:22 +0200 (CEST)


Sven Syld writes:
 > How can I set expiring date for a file (xls, gif, etc.) so it will be =
 > downloaded from server not from cache. HTTP header?=20
HTTP header is good!

View your images through a "view" method (DTML or Python):

     URL:..../image/view

The "view" method could look like that:

    <dtml-call "RESPONSE.setHeader(....)">
    <dtml-return index_html>


Dieter