[squid-users] cache_peer - access time question

From: Luka Z. Gerzic <stinger@dont-contact.us>
Date: Thu, 4 Oct 2001 13:35:47 +0200

Hello,
i have question regarding redirection (fwd) reqests to other
cache/proxy servers at specific time, to be more specific i
like to, let's say redirect all reqests for main proxy1 to proxy2-6
from 4:00 to 15:00 and from 15:00 to 04:00 to go direct
w/o fwd req. to parent caches (proxy2-6).

Is there any chance that we could use some kind of acl lists to
control this kind of behavior of squid?

My current configuration is working great but i like to unload
my parent cache's in low-traffic time.

-- snip from conf --
cache_peer cache2.drenik.net parent 8080 0 round-robin no-query
cache_peer cache3.drenik.net parent 8080 0 round-robin no-query
cache_peer cache4.drenik.net parent 8080 0 round-robin no-query
cache_peer cache5.drenik.net parent 8080 0 round-robin no-query
cache_peer cache6.drenik.net parent 8080 0 round-robin no-query
dead_peer_timeout 15 seconds
prefer_direct off
-- snip from conf --

Thank you all!

With regards
Luka Z. Gerzic

-----------
D r e n i k N e t w o r k s / Y u g o s l a v i a

Luka Gerzic - System Admin. - DrenikNet, Yugoslavia
Deligradska 19, 11000 Belgrade, YU
office phone:(+381 11) 659 641, 36 13 306
office fax: (+381 11) 3610 331
official web site : http://www.drenik.net/
e-mail: office@drenik.net
Received on Thu Oct 04 2001 - 05:37:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:36 MST