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

From: Collen Blijenberg <[email protected]>
Date: Thu, 8 Apr 2004 14:13:42 +0200

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..

but i'm still looking for a good log analizer,
i downloaded 'squid-log-analyzer-0.6' but it keeps
on showing that all data is loaded from the web,
and not the squid cache..!!
i included my squid.conf file
-----
cache_peer XXXX.XXXX.nl parent 8080 0 default
http_port 192.168.2.19:8080
http_port 192.168.9.1:8080
http_port 127.0.0.1:8080

cache_effective_user squid
cache_effective_group squid
visible_hostname proxy

httpd_accel_port 8080
httpd_accel_with_proxy on
httpd_accel_uses_host_header off
httpd_accel_single_host off

ftp_passive off

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server <MLHJ>
auth_param basic credentialsttl 2 hours
icon_directory /usr/share/squid/icons
error_directory /etc/squid/errors
# ACCESS CONTROLS
# -----------------------------------------------------------------------------
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 8080
acl Safe_ports port 21
acl Safe_ports port 443 563

acl QUERY urlpath_regex cgi-bin \?
no_cache allow QUERY

acl all src 0.0.0.0-0.0.0.0/0.0.0.0

#acl localhost src 127.0.0.0/8
acl localhost dst 127.0.0.1
#acl all dst 213.34.118.0/24
acl manager proto cache_object

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_access allow localhost
http_access allow manager localhost

acl CONNECT method CONNECT

never_direct deny all
never_direct allow adminet
never_direct allow jordanet
never_direct deny localhost
----------------
-----------------------------------------------------
Collen Blijenberg (Montessori Lyceum Herman Jordan)

Wednesday, April 7, 2004, 4:12:48 PM, you wrote:

 
>>
>> Well, i got 'm up and running,
>> but i downloaded a log analyzer from olaf schubert
>> a i was supprised to see that only 0,1 persent of the
>> web pages were from the cache, and the rest from the internet..
>>
>> even if i reloaded, or restared my web browser, squid was
>> getting the data from the web..
>>
>> i use a cache-peer from the ISP, to get my data..
>> can i setup squid to look first in the cache, and then the internet ??
>> so i can reduce my inernet trafic !?
>>
>> what am i doing wrong here ..!?!?!!
>> l8r
>>
>>
EM> Verify your claim(s) with :

EM> http://www.ircache.net/cgi-bin/cacheability.py

EM> It will give you more insight on the way caches work.
EM> Also browser reload, is not a valid test ; will lead
EM> to validation function(s) issued by SQUID for remote
EM> objects.

EM> M.
Received on Thu Apr 08 2004 - 06:20:23 MDT

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