[squid-users] trying to force direct caching via IP acl's

From: Stephen Pritchard <info2004@dont-contact.us>
Date: Tue, 7 Sep 2004 19:38:59 +0100

Sorry if this is covered by the FAQ and I've missed the plot, but the FAQ
answers I found aren't helping and it's driving me mad.

OS: OpenBSD 3.5

Squid Cache: Version 2.5.STABLE5

I am trying to get squid to not cache my web servers.

In squid.conf I have.

".

acl TO_my_servers dst 10.0.100.0/255.255.252.0 212.250.100.0/255.255.255.0

always_direct allow TO_my_servers

."

Yet I am always getting the following in access.log

1094584588.773 9 10.0.100.28 TCP_HIT/200 413 GET
http://www.a-domain.com/conf/info-email-address.js - NONE/-
application/x-javascript

1094584588.842 69 10.0.100.28 TCP_HIT/200 410 GET
http://www.a-domain.com/bin/lib/js/fncGetEmailAddr.js - NONE/-
application/x-javascript

1094584588.877 34 10.0.100.28 TCP_HIT/200 12798 GET
http://www.a-domain.com/images/about_main_pic.jpg - NONE/- image/jpeg

1094584588.879 1 10.0.100.28 TCP_HIT/200 2697 GET
http://www.a-domain.com/images/FRANC_LEFT.gif - NONE/- image/gif

1094584588.904 25 10.0.100.28 TCP_HIT/200 1991 GET
http://www.a-domain.com/images/about_latest_title.gif - NONE/- image/gif

1094584588.906 0 10.0.100.28 TCP_HIT/200 355 GET
http://www.a-domain.com/images/news_left_div.gif - NONE/- image/gif

1094584588.911 5 10.0.100.28 TCP_HIT/200 1546 GET
http://www.a-domain.com/images/about_about_title.gif - NONE/- image/gif

1094584588.913 0 10.0.100.28 TCP_HIT/200 464 GET
http://www.a-domain.com/images/about_titlebar_mid.gif - NONE/- image/gif

1094584588.918 4 10.0.100.28 TCP_HIT/200 1734 GET
http://www.a-domain.com/images/about_people_title.gif - NONE/- image/gif

1094584588.919 0 10.0.100.28 TCP_HIT/200 2187 GET
http://www.a-domain.com/images/about_fig_all.gif - NONE/- image/gif

where www.a-domain.com is pointing to 212.250.100.110

Surely this HITs should not be happening? I am certain I am doing something
stupid, but I've looked and looked and I cannot see what. This should be
easy yes?

Please help!!! I am too young to go mad...

SJP
Received on Tue Sep 07 2004 - 12:39:09 MDT

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