Re: [squid-users] no_cache deny for swscan.apple.com

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 9 Apr 2007 21:41:29 +0800

On Mon, Apr 09, 2007, dhottinger@harrisonburg.k12.va.us wrote:
> I am trying to get my squid 2.5 stable 14 install to not cache traffic
> for apple software updates. I put the following acl in my squid.conf
>
> acl apple1 url_regex swscan.apple.com \?
> no_cache deny apple1
>
> I still see traffic to swscan.apple.com in my access.log:
>
> 1176124249.216 110065 10.40.0.80 TCP_MISS/200 15636 GET
> http://swscan.apple.com/content/catalogs/index-1.sucatalog -
> DIRECT/17.250.248.95 text/plain ALLOW "Shareware/Freeware"
> 1
> Which Im pretty sure means it is still being cached. Ive googled and
> searched through squids website, but dont seem to be able to find the
> syntax I need to make this happen. What am I doing wrong?

The TCP_MISS says the response wasn't served locally.

no_cache just tells squid not to cache the reply; its still passed through Squid
by whatever mechanism you're using to get the traffic to the squid in the first
place.

Adrian
Received on Mon Apr 09 2007 - 07:30:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT