Re: [squid-users] Forward Cache not working

From: Chris Robertson <crobertson_at_gci.net>
Date: Mon, 04 Jan 2010 15:47:57 -0900

Mike Makowski wrote:
> Here is my basic config. Using defaults for everything else.
>
> acl localnet src 172.16.0.0/12
> http_access allow local_net
> maximum_object_size 25 MB
>
> Here is a log entry showing one connection from a LAN user through the
> proxy. I am guessing that the TCP_MISS is significant. Perhaps the
> original source is marked as Private as Chris suggested. Don't really know
> how to even tell that though.

Add a "-S" to wget to output the server headers.

wget -S http://www.sortmonster.net/master/Updates/test.xyz -O test.new.gz
--header=Accept-Encoding:gzip --http-user=myuserid --http-passwd=mypassword

> Can squid be forced to cache regardless of
> source settings?
>

Yes. http://www.squid-cache.org/Versions/v3/3.0/cfgman/refresh_pattern.html

Keyword "ignore-private".

> 1262645523.217 305633 172.17.0.152 TCP_MISS/200 11674081 GET
> http://www.sortmonster.net/master/Updates/test.xyz - DIRECT/74.205.4.93
> application/x-sortmonster 1262645523.464 122
>
> Mike

Chris
Received on Tue Jan 05 2010 - 00:48:15 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 05 2010 - 12:00:02 MST