Search squid archive

Re: cache_peer, time based

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maybe something like the following would work?

acl daytime 08:00-23:59
acl nighttime 00:00-07:59

cache_peer_access mydaycache.net allow daytime
cache_peer_access mydaycache.net deny all
cache_peer_access mynightcache.net allow nighttime
cache_peer_access mynightcache.net deny all

JD


----- Original Message ----
> From: Marcel Grandemange <thavinci@xxxxxxxxxxxxxxx>
> To: squid-users@xxxxxxxxxxxxxxx
> Sent: Sunday, November 23, 2008 1:46:33 AM
> Subject:  cache_peer, time based
> 
> Hey does anybody know how I would do something like the following...
> 
> I have a squid server that under normal circumstances will always fetch
> objects directly.
> 
> However from 12:00 at night to 8:00am , the line is saturated from p2p use.
> Now the same time we have another cache on a different line for different
> purposes that will be entirely free during non working hours.
> 
> What I would like to do is use the cache_peer directive for this cache but
> it must ONLY be used between 12:00 and 8:00 , the rest of the time it must
> go directly.
> 
> 
> Possible? Scripts?
> 
> 
> Any advice?



      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux