Peter Bengtsson wrote at 2005-9-8 17:23 +0100:
> ...
>What is the difference between 'Cache-Control' and 'Expires'?
Cache control is the modern (HTTP 1.1) way, "Expires" the old (HTTP 1.0)
one.
>What is best to use and for what?
Use them both:
HTTP 1.1 clients will honour "Cache-Control" (whi
This might be a FAQ but I'm willing to take a chance.
In class ImageFile (from App/ImageFile.py) the following headers are
set when you view an ImageFile object:
'Content-Type': self.content_type
'Last-Modified': self.lmh # RFC1123
'Cache-Control': 'public,max-age=3600'
What is the difference b