Search squid archive

Re: newbie: configuring squid to always check w/origin server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux