[squid-users] Re: Problems checking if an object is in cache or not

From: RW <rwmaillists_at_googlemail.com>
Date: Wed, 4 Dec 2013 17:07:43 +0000

On Wed, 4 Dec 2013 15:45:42 +0000
Donoso Gabilondo, Daniel wrote:

> I saw in internet that I should use squidclient with -t option to
> check if an object is cached. Why need I enable TRACE on server to
> check if a object is cached in the client (Squid)?

I think it would be -t 0 to get the trace from squid, but I don't
see how that would tell you whether the object is cached.
 

> I need to ask to
> squid directly if an object is cached or not without server
> intervention. How can I do it?

The headers in a GET response will tell you if it's served from cache
i.e. just leave out the -t.
Received on Wed Dec 04 2013 - 17:08:04 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 05 2013 - 12:00:04 MST