Re: expires

> How do you specify an expiration date for inline images?  Does the
> Expires header apply to the document only or does it also apply to all
> inline objects?  Is there an expires attribute for the <img> tag?

Expiration dates are part of the HTTP protocol, not part of the
document (images are documents as well).  How you go about
configuring your Web server software to send expiration dates
with each document is entirely up to the server, and different
servers do it differently.

If you can write CGI scripts, you can replace the URLs pointing
to the images with a CGI script that sends the HTTP headers and
then sends to picture.  This doesnt require reconfiguring the
server, but it is slower (with the CGI overhead).

Received on Wednesday, 8 May 1996 17:55:46 UTC