Search squid archive

Re: refresh_pattern + per domain for reverse proxy

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

 



On 30/04/11 06:14, Tommy wrote:
Hi,

I am wondering whether refresh_pattern can be in per domain basic for reverse
proxy? In another words, I want to have different caching time for different
domains.

It is a full-URL regular expression match. So yes...

refresh_pattern -i ^http://domainA\.com/(.*)\.jpg$ 1440 50% 2880
    reload-into-ims

refresh_pattern -i ^http://domainB\.com/(.*)\.jpg$ 1440 50% 2880
   ignore-reload

(wrapped lines)


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.12
  Beta testers wanted for 3.2.0.7 and 3.1.12.1


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

  Powered by Linux