[squid-users] Yet another store_id question HIT MISS

Eliezer Croitoru eliezer at ngtech.co.il
Wed Aug 17 19:25:29 UTC 2016


Hey Omid,

I will try to test here on my local squid to see if there is a well understood reason for the MISS.
What have you tried until now to test the issue?
Did you tried to reproduce from your PC?

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il


-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Omid Kosari
Sent: Wednesday, August 17, 2016 5:36 PM
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Yet another store_id question HIT MISS

Amos Jeffries wrote
> On 18/08/2016 1:43 a.m., Omid Kosari wrote:
>> Why following link is HIT
>> 
>> X-Cache:"HIT from cache1"
>> X-Cache-Lookup:"HIT from cache1:3128"
>> 
>> 
>> http://igcdn-photos-c-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/s150
>> x150/e35/13649137_1547514802224163_950421795_n.jpg
>> 
>> but this one is MISS
>> 
>> http://igcdn-photos-a-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/s150
>> x150/e35/13649137_1547514802224163_950421795_n.jpg
>> 
> 
> Because your override-expire tells Squid to ignore the 
> Cache-Control:max-age expiry details - instead to treat anything 10080 
> seconds old as expired.
> 
> Then the override-last-mod tells Squid to ignore the Last-Modified 
> header, instead to treat everything arriving as being 10080 seconds old.
> 
> When combined they mean that objects are only cacheable for the 
> remainder of the first second after arrival. When that 0-1 second is 
> over they are identified as being stale and require revalidation to be 
> used.
> 
> Your options also tell Squid to ignore revalidation ...
>  You see where this is going?
> 
> 
> It is most often a bad idea to override cache controls coming from the 
> server. refresh_pattern is a way to work around broken services or 
> those which do not send sufficient cache-controls to cache properly. 
> Use with great care and caution.
> 
> Amos
> 
> _______________________________________________
> squid-users mailing list

> squid-users at .squid-cache

> http://lists.squid-cache.org/listinfo/squid-users

Thanks . i have completely removed that refresh_pattern line but still same result .



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Yet-another-store-id-question-HIT-MISS-tp4678972p4678983.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list