Search squid archive

vary cache rules by time of day

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

 



Hi,

I'm caching for a short period of time a large number of delayed stock market data web service requests which ordinarily were being requested from the upstream data provider every time by the app layer.  I have various refresh_patterns stipulated for the different types of requests, i.e. data that compiles a 3 month chart can be kept for several hours ,  a price quote for just a few minutes etc.  

Whilst the volume of traffic to our site does drop after market hours and over the weekend, we would benefit hugely if I could invoke different refresh patterns after market close and over the weekend since I know at that point the data can be pulled from cache until the market next opens.

Is there a way to do this within acl or refresh_pattern  or do I need to have two squid configs and cron a --reconfigure at the relevant times?

Thanks,

Tim


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

  Powered by Linux