On tor, 2008-10-16 at 16:12 -0700, dukehoops wrote:
> 1. With what headers should the origin server respond in 3a) and 3b)? In
> latter case, it seems like something like "Cache-Control: must-revalidate",
> not sure whether to use s-maxage=0 and/or maxage=0
You probably do not need or want must-revalidate, it's a quite hard
directive. max-age is sufficient I think.
You only need must-revalidate (in addition to max-age) if it's
absolutely forbidden to use the last known version when/if revalidation
should fails to contact the web server for some reason.
You only need s-maxage if you want to assign different cache criterias
to shared caches such as Squid and browsers, for example enabling
browsers to cache the image longer than Squid.
> 2. What params should be used in squid config?
Preferably nothing specific for this since you have control over the web
server..
REgards
Henrik
This archive was generated by hypermail 2.2.0 : Fri Oct 17 2008 - 12:00:03 MDT