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" (which is easier to
  use and much more flexible).

  HTTP 1.0 clients will ignore "Cache-Control" but honour "Expires".
  With "Expires" you get thus at least a bit control for these
  old clients.

-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to