Hello,

I have a basic squid 3.5 configuration with

maximum_object_size_in_memory 64 KB
maximum_object_size 100000 KB
minimum_object_size 512 bytes

refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 1440 90% 10080 override-expire ignore-no-cache ignore-private
refresh_pattern -i (/cgi-bin/)                  0       0%      0
refresh_pattern .                                       0 20%     4320


cache_dir rock /cache1/rock1 256 min-size=500 max-size=32767 max-swap-rate=250 swap-timeout=350
cache_dir diskd /cache2/diskd1 1000 16 256 min-size=32768 max-size=1048576
cache_dir diskd /cache2/diskd2 100000 16 256 min-size=1048576


But when I test it against my webserver, using only one client PC, the only thing I get are TCP_MISSes of my images.

1437664284.339 11 192.168.2.103 TCP_MISS/200 132417 GET http://test-server.com/images/imagen3.jpg - HIER_DIRECT/192.168.2.10 image/jpeg 1437664549.753 5 192.168.2.103 TCP_MISS/200 53933 GET http://test-server.com/images/imagen1.gif - HIER_DIRECT/192.168.2.10 image/gif 1437665917.469 18 192.168.2.103 TCP_MISS/200 8319 GET http://test-server.com/images/icono.png - HIER_DIRECT/192.168.2.10 image/png

The response headers don't have Vary tags or any other that may impede caching

Accept-Ranges    bytes
Connection    close
Content-Length    53644
Content-Type    image/gif
Date    Thu, 23 Jul 2015 15:56:07 GMT
Etag    "e548d4-d18c-51b504b95dec0"
Last-Modified    Mon, 20 Jul 2015 15:36:03 GMT
Server    Apache/2.2.22 (EL)




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?
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to