Re: [squid-users] not caching enough

From: ant2ne <tcygne_at_altonschools.org>
Date: Mon, 28 Sep 2009 06:36:33 -0700 (PDT)

Ok, it has come to my attention that /cache only grwos when I run a report
using sarg. So it maybe that my proxy server is working, but only as a proxy
and not as a web cache proxy. Below is my squid.conf file with the comment #
invert grepped out. Please review and tell me what it is that I need to
change to turn this proxy server into a web cache server.

below is me squid.conf
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 to_localhost dst 127.0.0.0/8
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
acl our_networks src 10.60.140.0/24
http_access allow our_networks
http_access allow localhost
http_access allow all
http_access deny all
icp_access allow all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs /cache 500000 256 256
maximum_object_size 32768 KB
access_log /var/log/squid/access.log squid
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hosts_file /etc/hosts
coredump_dir /var/spool/squid
visible_hostname AHSPX01

-- 
View this message in context: http://www.nabble.com/not-caching-enough-tp25530445p25645183.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Mon Sep 28 2009 - 13:36:38 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 29 2009 - 12:00:03 MDT