[squid-users] squid does not cache

From: Oliver Joa <squid@dont-contact.us>
Date: Fri, 15 Apr 2005 12:35:50 +0200 (CEST)

hi,

i have a problem with squid-2.5-STABLE6, but i also tried STABLE9 and
squid-3. Everytimes the same, squid does not cache dynamic pages in
acceleration-mode:

on this url i sometimes get a HIT, but most often not:

http://derivatetool.finanztreff.de/derivate/5/derivate_news.htm

if i use authorization:

http://oink:oink@derivatetool.finanztreff.de/derivate/5/derivate_news.htm

then, I have even less Hits.

First I used a squid as redirector for loadbalancing. In this
configuration I never got a Hit. I thougth that maybe it is not possible
to cache, so i cascaded another squid, without redirecting. I think it is
a simple configuration, only forwarding to the webserver. We already use a
similar configuration for an other webserver-pool, which is running
without problems. Any Ideas? Here is the configuration:

http_port 80
icp_port 3130
htcp_port 0
hierarchy_stoplist dummydummy
cache_mem 50 MB
cache_dir ufs /cache 350 16 256
cache_store_log none
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern longcache 60 20% 2160
ignore-reload override-expire override-lastmod
refresh_pattern . 60 20% 2160
ignore-reload
negative_ttl 10 seconds
connect_timeout 5 seconds
read_timeout 15 seconds
request_timeout 15 seconds
client_lifetime 5 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 to_localhost dst 127.0.0.0/8
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
acl gatrixx src 10.10.0.0/255.255.0.0
acl snmppublic snmp_community finanztreff
acl dstgatrixxint dst 10.0.0.0/8
acl dstgatrixxext dst 217.111.11.0/25
acl PURGE method PURGE
http_access allow PURGE gatrixx
http_access deny PURGE
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow manager gatrixx
http_access allow dstgatrixxint
http_access allow dstgatrixxext
http_access deny all
http_reply_access allow all
icp_access allow gatrixx
icp_access deny all
cache_mgr ccc@gatrixx.com
cache_effective_group nogroup
httpd_accel_port 80
httpd_accel_host 10.11.0.52
httpd_accel_single_host on
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cachemgr_passwd none info
store_avg_object_size 8 KB
snmp_port 3401
snmp_access allow snmppublic localhost
snmp_access allow snmppublic gatrixx
snmp_access deny all
coredump_dir /usr/local/opt/squid/var/cache
client_persistent_connections off
server_persistent_connections off

Thank you

Oliver Joa
Received on Fri Apr 15 2005 - 04:35:53 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT