<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
I have a basic squid 3.5 configuration with<br>
<br>
maximum_object_size_in_memory 64 KB<br>
maximum_object_size 100000 KB<br>
minimum_object_size 512 bytes<br>
<br>
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 1440 90% 10080
override-expire ignore-no-cache ignore-private<br>
refresh_pattern -i (/cgi-bin/) 0 0% 0<br>
refresh_pattern . 0
20% 4320<br>
<br>
<br>
cache_dir rock /cache1/rock1 256 min-size=500 max-size=32767
max-swap-rate=250 swap-timeout=350<br>
cache_dir diskd /cache2/diskd1 1000 16 256 min-size=32768
max-size=1048576<br>
cache_dir diskd /cache2/diskd2 100000 16 256 min-size=1048576 <br>
<br>
<br>
But when I test it against my webserver, using only one client PC,
the only thing I get are TCP_MISSes of my images.<br>
<br>
1437664284.339 11 192.168.2.103 TCP_MISS/200 132417 GET
<a class="moz-txt-link-freetext" href="http://test-server.com/images/imagen3.jpg">http://test-server.com/images/imagen3.jpg</a> - HIER_DIRECT/192.168.2.10
image/jpeg<br>
1437664549.753 5 192.168.2.103 TCP_MISS/200 53933 GET
<a class="moz-txt-link-freetext" href="http://test-server.com/images/imagen1.gif">http://test-server.com/images/imagen1.gif</a> - HIER_DIRECT/192.168.2.10
image/gif<br>
1437665917.469 18 192.168.2.103 TCP_MISS/200 8319 GET
<a class="moz-txt-link-freetext" href="http://test-server.com/images/icono.png">http://test-server.com/images/icono.png</a> - HIER_DIRECT/192.168.2.10
image/png<br>
<br>
The response headers don't have Vary tags or any other that may
impede caching<br>
<br>
Accept-Ranges bytes<br>
Connection close<br>
Content-Length 53644<br>
Content-Type image/gif<br>
Date Thu, 23 Jul 2015 15:56:07 GMT<br>
Etag "e548d4-d18c-51b504b95dec0"<br>
Last-Modified Mon, 20 Jul 2015 15:36:03 GMT<br>
Server Apache/2.2.22 (EL)<br>
<br>
<tt></tt><br>
<br>
<br>
Is it necessary a certain amount of requests of a single object to
be cached (mem o disk) or am I facing some other problem here?<br>
</body>
</html>