-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oh, of course - you must to warm up cache first also. :) 16.01.2015 3:07, Robert ?????: > Dnia Czwartek, 15 Stycznia 2015 12:54 Yuri Voinov <yvoinov@xxxxxxxxx> napisał(a) >> > This URL > > http://www.squid-cache.org/Images/img4.jpg > > produces HIT on second query. > > > > > Ok, this is working - give TCP_MEM_HIT/200 > > > But can anybody explain me why such a images are not cached ? > > 1421355736.332 341144 10.59.1.9 TCP_MISS/200 9228 CONNECT api.instagram.com:443 - HIER_DIRECT/107.23.224.121 - > > 1421355736.332 14042 10.59.1.9 TCP_MISS/200 255 CONNECT www.facebook.com:443 - HIER_DIRECT/2a03:2880:f000:1:face:b00c:0:1 - > > 1421355736.577 1980 10.59.1.9 TCP_MISS/200 62566 GET http://www.blogojciec.pl/wp-content/uploads/2014/11/8334168249_1b5c1a6e7a_k-726x400.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355736.828 738 10.59.1.9 TCP_MISS/200 48321 GET http://www.blogojciec.pl/wp-content/uploads/2014/11/2335080161_6c96f831b1_b-726x400.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355737.010 3036 10.59.1.9 TCP_MISS/200 124617 GET http://www.blogojciec.pl/wp-content/uploads/2014/11/277485096_a64e491f09_o-726x400.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355737.461 376 10.59.1.9 TCP_MISS/200 627 GET http://www.blogojciec.pl/wp-content/themes/rigel/images/main_slider_bg.png - HIER_DIRECT/185.23.21.14 image/png > > 1421355737.842 357 10.59.1.9 TCP_MISS/200 447 GET http://www.blogojciec.pl/wp-content/plugins/facebook-page-promoter-lightbox/includes/front/scs/blank.gif - HIER_DIRECT/185.23.21.14 image/gif > > 1421355738.547 1695 10.59.1.9 TCP_MISS/200 138449 GET http://www.blogojciec.pl/wp-content/uploads/2013/09/DSC_1397.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355738.819 2937 10.59.1.9 TCP_MISS/200 143772 GET http://www.blogojciec.pl/wp-content/uploads/2014/11/6947435171_465587a2d4_k-726x400.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355741.078 7149 10.59.1.9 TCP_MISS/200 384465 GET http://www.blogojciec.pl/wp-content/uploads/2014/11/AMNESTY_STOP_1-716x400.png - HIER_DIRECT/185.23.21.14 image/png > > 1421355741.339 240241 10.59.1.9 TCP_MISS/200 5106 CONNECT clients2.google.com:443 - HIER_DIRECT/2607:f8b0:4002:c07::8a - > > 1421355744.032 7405 10.59.1.9 TCP_MISS/200 538419 GET http://www.blogojciec.pl/wp-content/uploads/2014/11/Rachels-header-with-Ben-added-and-name-726x400.png - HIER_DIRECT/185.23.21.14 image/png > > 1421355744.092 8379 10.59.1.9 TCP_MISS/200 470427 GET http://www.blogojciec.pl/wp-content/uploads/2014/11/poland-726x400.png - HIER_DIRECT/185.23.21.14 image/png > > 1421355746.084 1964 10.59.1.9 TCP_MISS/200 60489 GET http://www.blogojciec.pl/wp-content/uploads/2015/01/4815760850_4b06e8e3d1_b-960x430.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355746.333 351147 10.59.1.9 TCP_MISS/200 9257 CONNECT api.instagram.com:443 - HIER_DIRECT/107.23.224.121 - > > 1421355746.333 20041 10.59.1.9 TCP_MISS/200 173 CONNECT fbstatic-a.akamaihd.net:443 - HIER_DIRECT/2600:1404:14::17dc:64b3 - > > 1421355746.333 20039 10.59.1.9 TCP_MISS/200 173 CONNECT fbstatic-a.akamaihd.net:443 - HIER_DIRECT/2600:1404:14::17dc:64b3 - > > 1421355746.507 2373 10.59.1.9 TCP_MISS/200 152416 GET http://www.blogojciec.pl/wp-content/uploads/2014/03/4957524690_62271cbc0f_o-e1409310201525-960x430.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355747.597 3462 10.59.1.9 TCP_MISS/200 207217 GET http://www.blogojciec.pl/wp-content/uploads/2014/05/sad.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355747.698 1184 10.59.1.9 TCP_MISS/200 61353 GET http://www.blogojciec.pl/wp-content/uploads/2014/12/6697132255_2ddb665dd7_o-800x430.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355748.101 2006 10.59.1.9 TCP_MISS/200 62702 GET http://www.blogojciec.pl/wp-content/uploads/2015/01/1902628132_1dc03a6544_b-960x430.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355750.199 6060 10.59.1.9 TCP_MISS/200 87128 GET http://www.blogojciec.pl/wp-content/uploads/2014/06/kitchenok.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355750.357 2745 10.59.1.9 TCP_MISS/200 91760 GET http://www.blogojciec.pl/wp-content/uploads/2014/12/14296826765_557697dc2a_k-960x430.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > 1421355750.542 6399 10.59.1.9 TCP_MISS/200 174792 GET http://www.blogojciec.pl/wp-content/uploads/2014/05/spiderman.jpg - HIER_DIRECT/185.23.21.14 image/jpeg > > ^C > > > My testing was: > > - first I opened this blog site in Chrome > > - then I opened it in IE > > > so why ? > > > > > 15.01.2015 17:44, Robert пишет: > >>> [...] > >>> > >>>>> 1421183413.322 185 10.59.1.9 TCP_MISS_ABORTED/503 1541 GET > >>>>>> http://www.amazon.com/gp/am/metro/application/livetileRedirect? - > >>>>>> HIER_DIRECT/205.251.242.103 text/html > >>>>>> 1421183415.611 132 10.59.1.9 TCP_MISS/206 8526 GET > >>>>>> http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87i9P.jpg? - > >>>>>> HIER_DIRECT/23.220.133.211 image/jpeg 1421183416.619 34 > >>>>>> 10.59.1.9 TCP_MISS/206 834 GET > >>>>>> http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87i9P.jpg? - > >>>>>> HIER_DIRECT/23.220.133.211 image/jpeg 1421183417.094 76 > >>>>>> 10.59.1.9 TCP_MISS/206 11123 GET > >>>>>> http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA86gtq.jpg? - > >>>>>> HIER_DIRECT/23.220.133.211 image/jpeg 1421183418.269 52 > >>>>>> 10.59.1.9 TCP_MISS/206 4882 GET > >>>>> http://img.stb.s-msn.com/usappex/tenant/amp/entityid/AA87zJF.jpg? - > >>>>>> HIER_DIRECT/23.220.133.211 image/jpeg > >>>>> Partial messages (206) from servers are not cacheable by Squid. And > >>>>> again the non-logged query parameters may make what appears to be > >>>>> identical requests actually quite different. > >>>>>> I don't have any TCP_HIT :( , so what is going on ? why Squid > >>>>>> doesn't work ? :( > >>>>>> > >>>>> For testing configure: > >>>>> strip_query_terms off > >>>>> Also, how are you doing the testing? > >>>>> HTTP clients are able to send explicit instructions to proxies > >>>>> forbidding the use of cache. The curl tools do that by default, and > >>>>> also the browser "Refresh" or "Reload" buttons. > >>>>> > >>>> > >>>> 1. ok , so testing I do by surfing on two sites wp.pl and kosmos.pl , > if you think they are wrong please give me samples of sites which will > be good for testing > >>>> 2. I'm testing by going few time through the same links and also > using refresh , and I get most : > >>>> TCP_MISS/200 > >>>> sometimes: > >>>> TCP_REFRESH_UNMODIFIED/304 > >>>> > >>>> > >>>> > >>> > >>> > >>> Could somebody help me and answer ? > >>> > >>> Best question in my situation now is: on which sites I can test Squid > to see TCP_HIT messages in log? > >>> > >>> > >>> > >>> _______________________________________________ > >>> squid-users mailing list > >>> squid-users@xxxxxxxxxxxxxxxxxxxxx > >>> http://lists.squid-cache.org/listinfo/squid-users > >> >> _______________________________________________ >> squid-users mailing list >> squid-users@xxxxxxxxxxxxxxxxxxxxx >> http://lists.squid-cache.org/listinfo/squid-users >> > > > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUuC5LAAoJENNXIZxhPexGZ3cH/0LiLHVd/anFEUiuFtHLBcoU GkPzjbTg5UWxDi3I/yvrVbdxBZ+N7VJI3mt8246Rxhf89LgaLNIMp/dE7QvZiau+ kR2K45xVUQQW6Fi/P5BDz0ntR/FU5q9/qr3gYZjtRhYoCaFTdQWBYB4e+MHwaqCE 8Nd2jXnWkqOaOy2XObZCDIp+93L35iVI3luvuRQHbdAZrOtc5wgD7rFNXY+GdN7E YsjEsm2XNaS5vt/B2ZJbk0NWLSf1MTkOBSTb4Z1QVQhhbeMZ9OjzIrEiYabDat5Z /2VI5c4RwF322YMt+FdpWHFR/QS8+p1/Bik2gkSiCv8WXtwXPUiYgLIF+6RMWec= =VZif -----END PGP SIGNATURE----- |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users