[squid-users] Odp: Re: Odp: Re: Odp: Odp: Re: Only TCP_MISS
Yuri Voinov
yvoinov at gmail.com
Fri Jan 16 09:41:59 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
16.01.2015 3:35, Robert ?????:
> Dnia Czwartek, 15 Stycznia 2015 22:16 Yuri Voinov <yvoinov at gmail.com> napisaĆ(a)
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Oh,
>>
>> of course - you must to warm up cache first also.
>>
>> :)
>>
>
> 1. warm up cache
> What the hell is that ? ;) , no Squid installation guide says about
it, please give me link to some (simple) guide to warm up my swap to
cache as much as possible
This is obvious thing. To do that you need to permit cache work some
days or some month with normal load - to fill cache_dir and/or memory cache.
>
>
> 2. "First reason - HTTP headers. I.e, no cache. etc. You can override
them with refresh_patterns violations. :)"
> Again, please tell me what refresh_patterns should I set to increase
as most caching , also with headers caching if this is possible
http://www.squid-cache.org/Doc/config/refresh_pattern/
>
>
> 3. I did next text with site pkp.pl:
> 1421356447.223 193 10.59.1.9 TCP_MISS/200 4657 GET
http://rozklad-pkp.pl/img/content/icons/disab.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.270 200 10.59.1.9 TCP_MISS/200 4505 GET
http://rozklad-pkp.pl/img/content/icons/direct.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.274 961 10.59.1.9 TCP_MISS/200 80175 GET
http://rozklad-pkp.pl/css/lato-bold-webfont.woff -
HIER_DIRECT/213.199.225.44 text/plain
> 1421356447.297 190 10.59.1.9 TCP_MISS/200 1683 GET
http://rozklad-pkp.pl/img/content/icons/arrow-down-3.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.442 198 10.59.1.9 TCP_MISS/200 1732 GET
http://rozklad-pkp.pl/img/content/icons/main/plus.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.455 193 10.59.1.9 TCP_MISS/200 1834 GET
http://rozklad-pkp.pl/img/header/search.png - HIER_DIRECT/213.199.225.44
image/png
> 1421356447.476 209 10.59.1.9 TCP_MISS/200 1665 GET
http://rozklad-pkp.pl/img/content/icons/main/from.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.502 228 10.59.1.9 TCP_MISS/200 1641 GET
http://rozklad-pkp.pl/img/content/icons/main/cal.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.525 2 10.59.1.9 TCP_MEM_HIT/200 46701 GET
http://rozklad-pkp.pl/img/content/icons/map/mapa3.png - HIER_NONE/-
image/png
> 1421356447.530 246 10.59.1.9 TCP_MISS/200 1666 GET
http://rozklad-pkp.pl/img/content/icons/main/to.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.569 266 10.59.1.9 TCP_MISS/200 1735 GET
http://rozklad-pkp.pl/img/content/icons/arrow-up-2.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.901 445 10.59.1.9 TCP_MISS/200 8944 GET
http://rozklad-pkp.pl/img/content/bg/bn-na.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.932 471 10.59.1.9 TCP_MISS/200 7638 GET
http://rozklad-pkp.pl/img/content/bg/bn-na_780.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356447.959 478 10.59.1.9 TCP_MISS/200 6506 GET
http://rozklad-pkp.pl/img/content/bg/bn-na_480.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356448.457 916 10.59.1.9 TCP_MISS/200 1573 GET
http://rozklad-pkp.pl/img/content/icons/main/minus.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356448.477 932 10.59.1.9 TCP_MISS/200 1786 GET
http://rozklad-pkp.pl/hafas-res/img/sel_prod_ice.gif -
HIER_DIRECT/213.199.225.44 image/gif
> 1421356448.552 979 10.59.1.9 TCP_MISS/200 1771 GET
http://rozklad-pkp.pl/hafas-res/img/sel_prod_ic.gif -
HIER_DIRECT/213.199.225.44 image/gif
> 1421356448.586 1281 10.59.1.9 TCP_MISS/200 672 GET
http://bbcdn-bbnaut.ibillboard.com/server-static-files/bbnaut-b.swf -
HIER_DIRECT/194.213.222.30 application/x-shockwave-flash
> 1421356448.668 741 10.59.1.9 TCP_MISS/200 1823 GET
http://rozklad-pkp.pl/hafas-res/img/sel_prod_ir-d.gif -
HIER_DIRECT/213.199.225.44 image/gif
> 1421356448.694 757 10.59.1.9 TCP_MISS/200 1868 GET
http://rozklad-pkp.pl/hafas-res/img/sel_prod_re-rb.gif -
HIER_DIRECT/213.199.225.44 image/gif
> 1421356448.956 467 10.59.1.9 TCP_MISS/200 9284 GET
http://rozklad-pkp.pl/img/content/banners/banner3.jpg -
HIER_DIRECT/213.199.225.44 image/jpeg
> 1421356448.973 477 10.59.1.9 TCP_MISS/200 4047 GET
http://rozklad-pkp.pl/img/content/icons/arrow-up-4.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356448.976 417 10.59.1.9 TCP_MISS/200 636 GET
http://rozklad-pkp.pl/css/images/ui-bg_flat_75_ffffff_40x100.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356449.045 324 10.59.1.9 TCP_MISS/200 5414 GET
http://rozklad-pkp.pl/img/content/icons/bullet-active.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356449.064 338 10.59.1.9 TCP_MISS/200 4736 GET
http://rozklad-pkp.pl/img/content/icons/bullet.png -
HIER_DIRECT/213.199.225.44 image/png
> 1421356449.110 917 10.59.1.9 TCP_MISS/200 16451 GET
http://rozklad-pkp.pl/img/content/banners/banner2.jpg -
HIER_DIRECT/213.199.225.44 image/jpeg
> 1421356449.321 179 10.59.1.9 TCP_MISS/200 1594 GET
http://rozklad-pkp.pl/favicon.ico - HIER_DIRECT/213.199.225.44
image/vnd.microsoft.icon
> 1421356449.658 348 10.59.1.9 TCP_MISS/304 167 GET
http://bbnaut.ibillboard.com/g/ca2 - HIER_DIRECT/62.209.227.210 -
>
>
> .. and once again I see many picture files not cached , why ?
It can be because no-cache pragma presist in HTTP header in server
reply. You can check server headers and possibility of caching (or
needful using HTTP-violates refresh_pattern directives) with this tool:
https://redbot.org/
>
>
>
>
>
>
>
WBR, Yuri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJUuNznAAoJENNXIZxhPexGeBIH/3TDNCJLSNqnJHHw7V8l4d3k
jRXa3CfS+yLnjhd8PzeSoYsP39lg/5c+m2VgtpflDpJbZfPQQ1jqaEp64BVTops9
2HT7GQQ7nHNokioU7fa5m6vxVQ0kdmBVGuEUXfo9fZkL0JyeMg8c3I+/FUJJKIVJ
LbFMvC2haX2KOrANf7tiWLD0oj/gXpcQzVCUaoYg55uXCPTjXauuqPbMYGi/ReKg
lCX3JLnkU00+QR/cQRNBxbJDGC0vi7OusCAfYc4xS2S5IixBa+CqSRyHJlWEtqDK
LaJNEUkk8r9YUY6qQfg1wrxuM9kiNb8MZB5PJZn+swTlw3JHgOiOOpTBSxdkQLQ=
=FmMz
-----END PGP SIGNATURE-----
More information about the squid-users
mailing list