Search squid archive

Re: Forward Cache not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux