Re[4]: [squid-users] Is not using cache...

From: Collen Blijenberg <systeembeheer@dont-contact.us>
Date: Fri, 16 Apr 2004 10:32:46 +0200

here is some debug from my access.log:
-------------
1081924400.238 778 192.168.2.252 TCP_MISS/304 180 GET http://www.samba.org/samba/samba.html - DEFAULT_PARENT/proxy.kennisnet.nl -
1082102628.436 695 192.168.2.252 TCP_MISS/304 122 GET http://www.samba.org/samba/samba.html - DEFAULT_PARENT/proxy.kennisnet.nl -
1082102632.069 217 192.168.2.252 TCP_MISS/304 122 GET http://www.samba.org/samba/samba.html - DEFAULT_PARENT/proxy.kennisnet.nl -
-------------
all of the lines in the logfile has the TCP_MISS and DEFAULT_PARENT
thing.. (i tested www.samba.org to see if the site is cacheable, and
it is!!)

in my squid.conf we uses:
---------------------
cache_peer proxy.kennisnet.nl parent 8080 0 default
acl all src 0.0.0.0-0.0.0.0/0.0.0.0
acl adminet src 192.168.9.0/255.255.255.0
acl jordanet src 192.168.2.0/255.255.255.0
http_access allow adminet
http_access allow jordanet
http_access allow all
http_reply_access allow all
icp_access allow all
never_direct allow all
never_direct allow adminet
never_direct allow jordanet
-----------------------
we are behind several firewall's and can only use this
proxy.kennisnet.nl proxy server to retreve the pages..!
(no direct connection here)
we got 2 lan's and 1 gateway...

the idea is that the local proxy serve's both lan's.
and if the page is not in the local cache, it should be retreved
from the parent..
but it doen't...! it simply ask the parent for every request.
and doesn't use it's own cache..

if i look into the cache dir, it show's only 2 or 3 sites...
it look's like if he doesn't put anny data/sites/pages in the cache..
so how can i make sure squid saves data to the cache dir
(/var/spool/squid), and uses it ??

-----------------------------------------------------
Collen Blijenberg (Montessori Lyceum Herman Jordan)

Thursday, April 8, 2004, 2:24:32 PM, you wrote:

 
>>
>> Hmm, thx.
>> but it doen't solve manny..
>>
>> with this tool i can see, witch site is cacheable..!
>> so i'm testing with a good cacheable site..
>>
EM> And does it work (cache) with such a site ?

EM> Pinpoint conclusions can only be drawn with :
 
EM> - more exact examples,
EM> - access log entries for site
EM> - how test is done.

EM> M.
Received on Fri Apr 16 2004 - 02:32:25 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT