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.1Received on Fri Apr 29 2011 - 18:31:07 MDT
This archive was generated by hypermail 2.2.0 : Sat Apr 30 2011 - 12:00:04 MDT