Re: [squid-users] Re: Squid 3.4 Head can't cache static url

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 24 Apr 2013 21:10:50 +1200

On 24/04/2013 8:05 p.m., Carlos Defoe wrote:
> I think it's a squid -> server message, and the cache is nginx.
>
> Hey Amos, squid will always respond with a MISS to requests with
> "Cache-Control: max-age=0" ? There's a way to ignore it with
> configurations?

Reverse-proxy are allowed to use the ignore-cc option on http_port and
https_port lines.

refresh_pattern directive provides the reload-into-ims option to convert
it from a force-reload to a if-modified request based on a URL regex
pattern.

> I'm thinking about windows updates, MS probably sets
> that to zero. In what other situation a client does this?

In any situation where the client *requires* the absolute latest copy of
something regardless of whether a slightly older copy has ben cached
already.

If you want to override this for windows updates, consider the effect
that will have on clients security and target any overrides very
particulrly. Ignoring it when fetching the list of new packages for
example will make your clients WU display "no updates requried" for some
time after even the most critical updates are published. But ignoring it
on the CAB files themselves would be far less problematic.

Amos
Received on Wed Apr 24 2013 - 09:11:04 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 24 2013 - 12:00:15 MDT