Hello,

Anyone could help me?

Thanks.

BRs,
Qingsheng.

-----Original Message-----
From: He, Qingsheng 2 
Sent: Thursday, January 10, 2013 2:43 PM
To: 'Amos Jeffries'; squid-users@squid-cache.org
Subject: RE: [squid-users] Hello, can 'squidclient' check if a file is cached 
in the squid?

Hello Amos,

Sorry, I am a new subscriber for the mailing list.
I am not sure how to raise a question.

About use the squidclient to check if a file(url) has been cached by the squid, 
I just made a test, but it seem not work as my expectation.

#Squidclient -t 1 -h <SquidServerDNS> -p 80 $url

It return 'X-Cache: MISS from localhost'.

But actally the file has been cached since I use wget to download the file very 
fast.
If I use Icp to quiry it will return 'UDP_HIT'.

Do you know why?
Thanks.

He Qingsheng 


-----Original Message-----
From: Amos Jeffries [mailto:squ...@treenet.co.nz] 
Sent: Thursday, January 10, 2013 2:20 PM
To: squid-users@squid-cache.org
Subject: Re: [squid-users] Hello, can 'squidclient' check if a file is cached 
in the squid?

On 10/01/2013 7:06 p.m., He, Qingsheng 2 wrote:
> Hello all,
>
> Can 'squidclient' check if a file is cached in the squid?
> Thanks.
>
>
> He Qingsheng
>   

Please do not hijack other peoples threads with unrelated topics.
Yes it can. squidclient $URL | more and look for X-Cache: header contents.

Amos

Reply via email to