SPUG:CGI header question

Peter Darley pdarley at kinesis-cem.com
Thu Jun 19 10:52:27 CDT 2003


Folks,
	Hopefully someone out there can give me a pointer here...
	I'm working on a project where I'm storing media (photos, sound files) in a
database and serving them through a perl script.  My image tags look like
<img src='Photo.pl?PhotoID=14232'>, which works fine.  What I'm looking for
advice on is that since this is a perl script browsers wont cache the
result, so it wants to download the images again weither it is new or not.
I can't find a way in the CGI module's header stuff to give a date or
anything so the browser can decide weither it should be loaded from cache or
from the server.
	Hope this makes some sence.  Any help appreicated. :)
Thanks,
Peter Darley




More information about the spug-list mailing list