[squid-users] reverse proxy, do not check siblings.

From: leongmzlist <leongmzlist@dont-contact.us>
Date: Mon, 27 Aug 2007 21:06:53 -0700

I want to have certain requests go directly to the origin server, and
don't bother checking the siblings to see if they have a cached
copy. I'm trying to reducing the amount of ICP packets since I know
certain requests are never cached.

here's my settings:

cache_peer 1.2.3.3 parent 80 0 no-query originserver
no-netdb-exchange no-digest round-robin name=parent1

cache_peer 1.2.3.4 parent 80 0 no-query originserver
no-netdb-exchange no-digest round-robin name=parent2

cache_peer 1.2.3.5 sibling 80 3130 proxy-only no-delay allow-miss
weight=1 no-netdb-exchange no-digest name=sibling1

cache_peer 1.2.3.6 sibling 80 3130 proxy-only no-delay allow-miss
weight=1 no-netdb-exchange no-digest name=sibling2

cache_peer 1.2.3.7 sibling 80 3130 proxy-only no-delay allow-miss
weight=1 no-netdb-exchange no-digest name=sibling3

acl go-direct urlregex foo

what cache_peer_access should I use so that go-direct will
round-robin between parent1 and parent2; and don't have squid bother
checking other sibling for go-direct requests?

I tried using always_direct, but that didn't work.

thanks,

mike
Received on Mon Aug 27 2007 - 21:07:02 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT