*/304 is seen when the copy in the users browser cache (or downstream
caching proxy) is up to date.
Squid cannot cache a document until it has seen a full request for
the object. If all your users already have the site fully cached in
their browsers there is not much Squid can do to improve the cache
hit ratio as it is already close to perfect..
Regards
Henrik
On Friday 15 February 2002 13.56, Chris wrote:
> Hi Henrik,
>
> Thanks for replying, your help is greatly appreciated and I thank
> you for taking the time :) I've turned on log_mime_hdrs as you
> suggested and attached a .txt file with a few lines of the output
>
> Some files are reporting an IMS_HIT which I guess is a good thing?
> Also, my subject was incorrect, squid does appear to be caching
> files as the filesystem is filling gradually.. it started out at
> 3meg and is now up to 8.
>
> These are the only uncommented lines in my config file.. the rest
> is default I would assume.
> -----------------------------------------------------
> http_port 192.168.1.1:3128
> icp_port 0
> tcp_outgoing_address 144.132.134.46
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_mem 16 MB
> maximum_object_size 32000 KB
> cache_dir ufs /opt/cache 1000 16 256
> cache_access_log /var/log/squid/access.log
> cache_log /var/log/squid/cache.log
> cache_store_log none
> log_mime_hdrs on
> log_fqdn on
> ftp_user me@here.there
> dns_timeout 2 minutes
> 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 chris src 192.168.1.10/255.255.255.255
> acl lan src 192.168.1.1-192.168.1.254/255.255.255.255
> 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 allow manager localhost
> http_access allow manager chris
> http_access deny manager
> http_access allow lan
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access deny all
> icp_access allow all
> cache_mgr chrisb@bcnstech.net
> cache_effective_user squid
> cache_effective_group squid
> visible_hostname nixbox.bcnstech.org
> append_domain .bcnstech.org
> forwarded_for off
> cachemgr_passwd XXXXXXXX all
> acl local-servers dstdomain .bcnstech.org
> always_direct allow local-servers
> uri_whitespace encode
> -----------------------------------------------------
>
> Any suggestions would be appreciated.
> Thank you and Regards
Received on Sat Feb 16 2002 - 06:22:55 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:23 MST