I just upgraded to Squid 2.5.STABLE. I was running version 2.2. I am pretty sure that this problem is unrelated to my upgrade.. I just happened to notice this today while I was upgrading.
Basically, nothing is getting cached. Everything gets reported as a TCP_MISS/200 in the access log. Nothing is getting written to the cache.log. My store.log reports info like this:
1046563848.097 RELEASE 00000035 200 1046563706 993686750 -1 image/gif 525/525 GET http://www.mydomain.com/images/admin/header-bg.gif
1046563848.097 SWAPOUT 00000044 200 1046563848 993686750 -1 image/gif 525/525 GET http://www.mydomain.com/images/admin/header-bg.gif
My squid.conf is at the bottom of this message for reference.
Any help would be appreciated, thanks in advance, Hugh
------ BEGIN SQUID.CONF FILE ----- cache_mem 384 MB cache_dir ufs /home/squid/cache 1024 16 256
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl SSL_ports port 443 563 acl Safe_ports port 80 acl CONNECT method CONNECT
http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow all http_access allow localhost
visible_hostname www.mydomain.com unique_hostname squid.mydomain.com
httpd_accel_host www-priv1.mydomain.com httpd_accel_port 80 httpd_accel_with_proxy off httpd_accel_uses_host_header on
forwarded_for on
#cache_store_log /dev/null #cache_access_log /dev/null cache_store_log /var/log/squid/store.log cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log
maximum_object_size 32768 KB maximum_object_size_in_memory 32 KB
redirect_program /usr/etc/vlinto redirect_children 64 redirector_bypass off ---- END FILE ----
