<html>
<head>
<meta content="text/html; charset=iso-8859-2"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
<br>
:)<br>
<br>
First reason - HTTP headers. I.e, no cache. etc. You can override
them with refresh_patterns violations. :)<br>
<br>
Second - dynamic generated content required some special works to be
cached.<br>
Note: not all dynamic content can be easy cached.<br>
<br>
:)<br>
<br>
16.01.2015 3:07, Robert ?????:<br>
<span style="white-space: pre;">> Dnia Czwartek, 15 Stycznia 2015
12:54 Yuri Voinov <a class="moz-txt-link-rfc2396E" href="mailto:yvoinov@gmail.com"><yvoinov@gmail.com></a> napisał(a)<br>
>> <br>
> This URL<br>
> <br>
> <a class="moz-txt-link-freetext" href="http://www.squid-cache.org/Images/img4.jpg">http://www.squid-cache.org/Images/img4.jpg</a><br>
> <br>
> produces HIT on second query.<br>
> <br>
> <br>
><br>
> > Ok, this is working - give TCP_MEM_HIT/200<br>
><br>
> > But can anybody explain me why such a images are not
cached ?<br>
> > 1421355736.332 341144 10.59.1.9 TCP_MISS/200 9228
CONNECT api.instagram.com:443 - HIER_DIRECT/107.23.224.121 -<br>
> > 1421355736.332 14042 10.59.1.9 TCP_MISS/200 255 CONNECT
<a class="moz-txt-link-abbreviated" href="http://www.facebook.com:443">www.facebook.com:443</a> - HIER_DIRECT/2a03:2880:f000:1:face:b00c:0:1
-<br>
> > 1421355736.577 1980 10.59.1.9 TCP_MISS/200 62566 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/11/8334168249_1b5c1a6e7a_k-726x400.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/11/8334168249_1b5c1a6e7a_k-726x400.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355736.828 738 10.59.1.9 TCP_MISS/200 48321 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/11/2335080161_6c96f831b1_b-726x400.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/11/2335080161_6c96f831b1_b-726x400.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355737.010 3036 10.59.1.9 TCP_MISS/200 124617 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/11/277485096_a64e491f09_o-726x400.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/11/277485096_a64e491f09_o-726x400.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355737.461 376 10.59.1.9 TCP_MISS/200 627 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/themes/rigel/images/main_slider_bg.png">http://www.blogojciec.pl/wp-content/themes/rigel/images/main_slider_bg.png</a>
- HIER_DIRECT/185.23.21.14 image/png<br>
> > 1421355737.842 357 10.59.1.9 TCP_MISS/200 447 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/plugins/facebook-page-promoter-lightbox/includes/front/scs/blank.gif">http://www.blogojciec.pl/wp-content/plugins/facebook-page-promoter-lightbox/includes/front/scs/blank.gif</a>
- HIER_DIRECT/185.23.21.14 image/gif<br>
> > 1421355738.547 1695 10.59.1.9 TCP_MISS/200 138449 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2013/09/DSC_1397.jpg">http://www.blogojciec.pl/wp-content/uploads/2013/09/DSC_1397.jpg</a> -
HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355738.819 2937 10.59.1.9 TCP_MISS/200 143772 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/11/6947435171_465587a2d4_k-726x400.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/11/6947435171_465587a2d4_k-726x400.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355741.078 7149 10.59.1.9 TCP_MISS/200 384465 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/11/AMNESTY_STOP_1-716x400.png">http://www.blogojciec.pl/wp-content/uploads/2014/11/AMNESTY_STOP_1-716x400.png</a>
- HIER_DIRECT/185.23.21.14 image/png<br>
> > 1421355741.339 240241 10.59.1.9 TCP_MISS/200 5106
CONNECT clients2.google.com:443 -
HIER_DIRECT/2607:f8b0:4002:c07::8a -<br>
> > 1421355744.032 7405 10.59.1.9 TCP_MISS/200 538419 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/11/Rachels-header-with-Ben-added-and-name-726x400.png">http://www.blogojciec.pl/wp-content/uploads/2014/11/Rachels-header-with-Ben-added-and-name-726x400.png</a>
- HIER_DIRECT/185.23.21.14 image/png<br>
> > 1421355744.092 8379 10.59.1.9 TCP_MISS/200 470427 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/11/poland-726x400.png">http://www.blogojciec.pl/wp-content/uploads/2014/11/poland-726x400.png</a>
- HIER_DIRECT/185.23.21.14 image/png<br>
> > 1421355746.084 1964 10.59.1.9 TCP_MISS/200 60489 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2015/01/4815760850_4b06e8e3d1_b-960x430.jpg">http://www.blogojciec.pl/wp-content/uploads/2015/01/4815760850_4b06e8e3d1_b-960x430.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355746.333 351147 10.59.1.9 TCP_MISS/200 9257
CONNECT api.instagram.com:443 - HIER_DIRECT/107.23.224.121 -<br>
> > 1421355746.333 20041 10.59.1.9 TCP_MISS/200 173 CONNECT
fbstatic-a.akamaihd.net:443 - HIER_DIRECT/2600:1404:14::17dc:64b3
-<br>
> > 1421355746.333 20039 10.59.1.9 TCP_MISS/200 173 CONNECT
fbstatic-a.akamaihd.net:443 - HIER_DIRECT/2600:1404:14::17dc:64b3
-<br>
> > 1421355746.507 2373 10.59.1.9 TCP_MISS/200 152416 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/03/4957524690_62271cbc0f_o-e1409310201525-960x430.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/03/4957524690_62271cbc0f_o-e1409310201525-960x430.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355747.597 3462 10.59.1.9 TCP_MISS/200 207217 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/05/sad.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/05/sad.jpg</a> -
HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355747.698 1184 10.59.1.9 TCP_MISS/200 61353 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/12/6697132255_2ddb665dd7_o-800x430.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/12/6697132255_2ddb665dd7_o-800x430.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355748.101 2006 10.59.1.9 TCP_MISS/200 62702 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2015/01/1902628132_1dc03a6544_b-960x430.jpg">http://www.blogojciec.pl/wp-content/uploads/2015/01/1902628132_1dc03a6544_b-960x430.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355750.199 6060 10.59.1.9 TCP_MISS/200 87128 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/06/kitchenok.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/06/kitchenok.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355750.357 2745 10.59.1.9 TCP_MISS/200 91760 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/12/14296826765_557697dc2a_k-960x430.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/12/14296826765_557697dc2a_k-960x430.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > 1421355750.542 6399 10.59.1.9 TCP_MISS/200 174792 GET
<a class="moz-txt-link-freetext" href="http://www.blogojciec.pl/wp-content/uploads/2014/05/spiderman.jpg">http://www.blogojciec.pl/wp-content/uploads/2014/05/spiderman.jpg</a>
- HIER_DIRECT/185.23.21.14 image/jpeg<br>
> > ^C<br>
><br>
> > My testing was:<br>
> > - first I opened this blog site in Chrome<br>
> > - then I opened it in IE<br>
><br>
> > so why ?<br>
><br>
><br>
><br>
> <br>
> 15.01.2015 17:44, Robert
пишет:<br>
> >>> [...]<br>
> >>><br>
> >>>>> 1421183413.322 185 10.59.1.9
TCP_MISS_ABORTED/503 1541 GET<br>
> >>>>>>
<a class="moz-txt-link-freetext" href="http://www.amazon.com/gp/am/metro/application/livetileRedirect">http://www.amazon.com/gp/am/metro/application/livetileRedirect</a>? -<br>
> >>>>>> HIER_DIRECT/205.251.242.103
text/html<br>
> >>>>>> 1421183415.611 132 10.59.1.9
TCP_MISS/206 8526 GET<br>
> >>>>>>
<a class="moz-txt-link-freetext" href="http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87i9P.jpg">http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87i9P.jpg</a>?
-<br>
> >>>>>> HIER_DIRECT/23.220.133.211
image/jpeg 1421183416.619 34<br>
> >>>>>> 10.59.1.9 TCP_MISS/206 834 GET<br>
> >>>>>>
<a class="moz-txt-link-freetext" href="http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87i9P.jpg">http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87i9P.jpg</a>?
-<br>
> >>>>>> HIER_DIRECT/23.220.133.211
image/jpeg 1421183417.094 76<br>
> >>>>>> 10.59.1.9 TCP_MISS/206 11123 GET<br>
> >>>>>>
<a class="moz-txt-link-freetext" href="http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA86gtq.jpg">http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA86gtq.jpg</a>?
-<br>
> >>>>>> HIER_DIRECT/23.220.133.211
image/jpeg 1421183418.269 52<br>
> >>>>>> 10.59.1.9 TCP_MISS/206 4882 GET<br>
> >>>>>
<a class="moz-txt-link-freetext" href="http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87zJF.jpg">http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87zJF.jpg</a>?
-<br>
> >>>>>> HIER_DIRECT/23.220.133.211
image/jpeg<br>
> >>>>> Partial messages (206) from servers are
not cacheable by Squid. And<br>
> >>>>> again the non-logged query parameters
may make what appears to be<br>
> >>>>> identical requests actually quite
different.<br>
> >>>>>> I don't have any TCP_HIT :( , so
what is going on ? why Squid<br>
> >>>>>> doesn't work ? :(<br>
> >>>>>><br>
> >>>>> For testing configure:<br>
> >>>>> strip_query_terms off<br>
> >>>>> Also, how are you doing the testing?<br>
> >>>>> HTTP clients are able to send explicit
instructions to proxies<br>
> >>>>> forbidding the use of cache. The curl
tools do that by default, and<br>
> >>>>> also the browser "Refresh" or "Reload"
buttons.<br>
> >>>>><br>
> >>>><br>
> >>>> 1. ok , so testing I do by surfing on two
sites wp.pl and kosmos.pl ,<br>
> if you think they are wrong please give me samples of sites
which will<br>
> be good for testing<br>
> >>>> 2. I'm testing by going few time through the
same links and also<br>
> using refresh , and I get most :<br>
> >>>> TCP_MISS/200<br>
> >>>> sometimes:<br>
> >>>> TCP_REFRESH_UNMODIFIED/304<br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>><br>
> >>><br>
> >>> Could somebody help me and answer ?<br>
> >>><br>
> >>> Best question in my situation now is: on which
sites I can test Squid<br>
> to see TCP_HIT messages in log?<br>
> >>><br>
> >>><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><br>
> <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><br>
>> <br>
><br>
><br>
> <br>
><br>
><br>
></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBAgAGBQJUuC3/AAoJENNXIZxhPexG7hIIAMEPJarZgNthsTdjludWKPOi
<br>
a4B3x7VAR3OYlkkSj0aU78Tw3IE0I+oSLSYB7Xg+V5iehh0xmDQrh3j92q3+OEeP
<br>
0nHavqjwEpD9y7LqUJxTd8K798CmudZEQcdLshrGdFghWNnPI8VueYW8lemQ5tAO
<br>
sTbwqHIDc848hs3B+cBXKEtSRgtRgFsEDjOwvVeiMVZeATWnYB/0R6eyizjvOqpl
<br>
nLeQrJ/IhPz2DB515+KY05T0ZoRc+6IjCXAl8LZnspvTSSoYgh75DGiVXvIpzCSl
<br>
Me52dZfLjtegtlAXObrCGS/2U3w2xdrE8YWul0tm85/9NCQU0Cj0UXpsAMj67qg=
<br>
=cHeB
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>