SPUG:Re: CGI header question

Jeremy Mates jmates at sial.org
Thu Jun 19 13:12:45 CDT 2003


* Peter Darley <pdarley at kinesis-cem.com>
> It turns out there is a mechanism to do this, the 304 no change header
> and the if-modified-since request header item.

Another option would be to make the image URL unique to the image (and
any transformations done), then place a caching proxy in front of the
webserver running the perl scripts.  If the image content does not
change, nor does the user rotate the image, subsequent requests should
hit the proxy.  Some proxies can also do gzip compression, which may
save on bandwidth.




More information about the spug-list mailing list