Search squid archive

Re: Cache-digest configuration problem

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

 



tis 2010-03-09 klockan 20:13 +0200 skrev Giannis Fotopoulos:
> Hi,
> I'm  having some difficulty trying to set up my squid servers to use 
> cache-digests.

Should be automatic unless you explicitly disable it.

> First of all, in order to use cache-digests, must I also use ICP?

No.

> I do not get any errors, but I do not know even if it's working. What 
> should I see in the access.log?

CD_PARENT_HIT / CD_SIBLING_HIT on parent/sibling cache hits.

> My setup is made up of 3 servers(squid on all 3) behind a load balancer 
> on the same subnet.

What load balancing method are you using?

> The only thing I can get from squid's logs is (from server-squid1 access 
> log file):
> 
> TCP_MEM_HIT/200 2366753 GET 
> http://server-squid2:3128/squid-internal-periodic/store_digest - NONE/- 
> application/cache-digest

Thats the digest exchange.

>  From what I can understand, my server fetches the cache digest. But 
> what happens from there on? What happens if the requested site is found 
> on my sibling's cache? How does squid request it from the sibling cache, 
> and what is seen, if anything, in the logfile?

It requests the objects using HTTP just as any other client.

But a request only takes place if the requested object is not in the
local cache but the peers cache digest indicates it's available there.

additionally the request must not match hierarchy_stoplist or any cache
deny rules, or Squid won't consider using a sibling for the request.

Regards
Henrik


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

  Powered by Linux