[squid-users] Only TCP_MISS and TCP_DENIED, no TCP_HIT in access.log

From: Rafal Zawierta <zawierta_at_gmail.com>
Date: Tue, 31 May 2011 12:54:06 +0200

Hi,

I'm wondering if my squid3 is working as it should work.

I'm doing simple test.
I open Firefox and point to www.w3.org. In access.log I get a lot of
TCP_MISS related to www.w3.org website. Ok, good - it's first time I
visit that site.
Next I open Chrome (on the same machine) and point to www.w3.org
and... and I get again only TCP_MISS in access.log - no HIT at all. Is
it correct?

squid.conf:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200
override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200
90% 432000 override-expire ignore-no-cache ignore-no-store
ignore-private
refresh_pattern -i
\.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 43200
override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.index.(html|htm)$ 0 40% 10080
refresh_pattern -i \.(html|htm|css|js)$ 1440 40% 40320
refresh_pattern . 0 40% 40320

cache_mem 512 MB
maximum_object_size_in_memory 512 KB

cache_dir ufs /var/spool/squid3 8000 16 256
maximum_object_size 32000 KB

R.
Received on Tue May 31 2011 - 10:54:12 MDT

This archive was generated by hypermail 2.2.0 : Tue May 31 2011 - 12:00:03 MDT