[squid-users] reverse caching proxy with authentication no caching at all (TCP_MISS)/RELEASE

From: Michiel van Es <[email protected]>
Date: Thu, 04 Nov 2004 15:21:19 +0100

Hi,
I have squid 2.5-stable7 with the -DEFS in squid-2.5.STABLE7/src/Makefile
-DAUTH_ON_ACCELERATION

The problem is that NO content at all is cached (all RELEASED):

<snip store.log>
1099554621.522 RELEASE -1 FFFFFFFF A275DA6C0E5AE000C3352D85D9EAF6EF 200
1099558195 1066813532 -1 text/html 822/822 GET http://172.22.1
1099554621.803 RELEASE -1 FFFFFFFF 5A5785D57472E3159423966B9B5075C6 200
1099558195 1046780108 -1 text/html 3131/3131 GET http://172.22
1099554621.905 RELEASE -1 FFFFFFFF B8B5E0FD055F3327D6D8D3503C23608D 200
1099558195 1097222574 -1 text/html 1314/1314 GET http://172.22
1099554622.249 RELEASE -1 FFFFFFFF 43921B06DCEEEAB8447DB50AC56178CD 200
1099558195 1046077519 -1 image/jpeg 671/671 GET http://172.22.
1099554622.683 RELEASE -1 FFFFFFFF D9D726DA27A4DFEFCE611A9937937969 404
1099558196 -1 -1 text/html 4040/4040 GET http://172.22.
1099554622.683 RELEASE -1 FFFFFFFF F3AD8AB1FC7EAF9CFD1A8D848C89A3B4 200
1099558195 1046768826 -1 image/jpeg 23633/23633 GET http://172
1099554623.321 RELEASE -1 FFFFFFFF CA69AED6DB9443EC4D647187606C81B5 200
1099558196 1073654223 -1 text/html 834/834 GET http://172.22.1
1099554623.522 RELEASE -1 FFFFFFFF 075172CC0EE4B6D82477EAE15746CF66 200
1099558196 1051016918 -1 text/html 3098/3098 GET http://172.22
1099554623.626 RELEASE -1 FFFFFFFF 377185AABB361BD08037AC9CE0F2C367 200
1099558196 1073654223 -1 text/html 649/649 GET http://172.22.1
1099554623.824 RELEASE -1 FFFFFFFF 6DEE7FA4A78FF4031D2AE078B13E3787 200
1099558197 1046077519 -1 image/jpeg 671/671 GET http://172.22.
1099554623.870 RELEASE -1 FFFFFFFF 4CB44D29931408DCB2ECB8DFF27165DA 200
1099558197 1051016803 -1 image/jpeg 6545/6545 GET http://172.2
1099554624.770 RELEASE -1 FFFFFFFF 838EE342A099FAC4CDFC30B3244810E1 200
1099558197 1073653902 -1 text/html 806/806 GET http://172.22.1
</snip store.log>

my squid.conf:
http_port 80
httpd_accel_host 192.168.*.*
httpd_accel_port 80
httpd_accel_single_host on
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl TMO proxy_auth REQUIRED
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
http_access allow TMO
# And finally deny all other access to this proxy
http_access deny all

The website being proxied is 192.168.*.* and only one website with
static html en jpeg running Windows 2000 and IIS 5.
No specials headers /content expirations set in IIS.

Does anyone know why nothing is being cached?

Thanks in advance.

Kind regards,

Michiel
Received on Thu Nov 04 2004 - 07:21:21 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST