<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
<br>
<br>
17.08.2016 20:28, Amos Jeffries пишет:<br>
<span style="white-space: pre;">> On 18/08/2016 1:43 a.m., Omid
Kosari wrote:<br>
>> Why following link is HIT<br>
>><br>
>> X-Cache:"HIT from cache1"<br>
>> X-Cache-Lookup:"HIT from cache1:3128"<br>
>><br>
>><br>
>>
<a class="moz-txt-link-freetext" href="http://igcdn-photos-c-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/s150x150/e35/13649137_1547514802224163_950421795_n.jpg">http://igcdn-photos-c-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/s150x150/e35/13649137_1547514802224163_950421795_n.jpg</a><br>
>><br>
>> but this one is MISS<br>
>><br>
>>
<a class="moz-txt-link-freetext" href="http://igcdn-photos-a-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/s150x150/e35/13649137_1547514802224163_950421795_n.jpg">http://igcdn-photos-a-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/s150x150/e35/13649137_1547514802224163_950421795_n.jpg</a><br>
>><br>
><br>
> Because your override-expire tells Squid to ignore the<br>
> Cache-Control:max-age expiry details - instead to treat
anything 10080<br>
> seconds old as expired.<br>
><br>
> Then the override-last-mod tells Squid to ignore the
Last-Modified<br>
> header, instead to treat everything arriving as being 10080
seconds old.<br>
><br>
> When combined they mean that objects are only cacheable for
the<br>
> remainder of the first second after arrival. When that 0-1
second is<br>
> over they are identified as being stale and require
revalidation to be used.<br>
><br>
> Your options also tell Squid to ignore revalidation ...<br>
> You see where this is going?<br>
><br>
><br>
> It is most often a bad idea to override cache controls coming
from the<br>
> server. refresh_pattern is a way to work around broken
services or those<br>
> which do not send sufficient cache-controls to cache
properly. Use with<br>
> great care and caution.</span><br>
I do not agree. Many webmasters intentionally set the value in the
"no cache" in their own selfish interests. For example, when
displaying advertising. Or, even worse, when watching videos - like
Youtube. Which leads to the monstrous traffic overspending. Why
should we respect them? While they actively oppose us?<br>
<span style="white-space: pre;">><br>
><br>
> Amos<br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXtHXiAAoJENNXIZxhPexGueMIAIWGnKWYsEkMPKmCqotCAcxo
<br>
N+raeePYsVaur/PZFsZgm2I9Dh+K0x2E8s5cYo5kcAcJl+q2Kfe9M1PvTJdvc6AG
<br>
zOSHzYtZ6e3n/w0f/WkUunSXOX0gWOlqHXvZZTjfm6R1zH8Qw+yx3jWIKQG8TuFP
<br>
EwSk1fPHfk77sfBXeYcgHPOYHrpGr8ubLsUmfQmrLWTWd5LP6rpFtGvm/pnreX9j
<br>
ZTOoNjYcqRdC+90Hwg6p6KDCyxSJOkd00fOoCclp4toAiNEwq2mUOOVwlvuL6pTZ
<br>
Vz97vrus0c2ntcojYPlHmX9/ywzs4vlR1y8J2QAg5HeITvnlv64ZI0Mmt3Enjmc=
<br>
=l7rO
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>