Squid: Getting TCP_MISS and no TCP_HIT :(
HIi folks,
I am running squid on a RH9 machine. The problem is that when I see the access.log file. I see only TCP_MISS and TCP_REFRESH_HIT. Even if I go to a site and then come back to it, it does not retrieve it from the cache. Though it logs every HTTP request. The proxy is not transparent yet. I have edited the proxy settings in the browser to port 3128. I am able to go through squid from any machine on the network. The following are the options that I have changed in squid.conf.
http_port 3128
cache_mem 1024 KB
maximum_object_size 1024 KB
fqdncache_size 10000 // I want to save 10,000 entries of dns
cache_dir ufs /usr/local/squid/var/cache 100 16 256
#Recommended minimum configuration:
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 allowed_hosts src 192.168.1.97/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny manager
http_access allow allowed_hosts
http_access allow all
http_access allow localhost
http_access deny all
cache_effective_user nobody
cache_effective_group nobody
Any suggestions/concerns/ideas would be greatly appreciated.
Thanx guys
Dravya
|