From d0c01c5e25cd284b8acc6db83eb420c05c5e51ae Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Fri, 20 Apr 2012 02:27:53 -0300 Subject: squid3 - fix refresh_pattern and typo regression --- config/squid-reverse/squid.inc | 15 ++++++++++++--- config/squid-reverse/squid_cache.xml | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'config/squid-reverse') diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index 847d6a35..6d092aec 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -875,7 +875,7 @@ refresh_pattern -i my.windowsupdate.website.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v| EOC; } -if(preg_match('/symantec/',$settings['refresh_patters'])){ +if(preg_match('/symantec/',$settings['refresh_patterns'])){ $conf.=<< Refresh Patterns refresh_patterns - Youtube and windowsupdate
+ Youtube and windowsupdate

Notes:
Squid wiki suggests 'Finish transfer if less than x KB remaining' on 'traffic mgmt' squid tab to -1 but you can apply your own values to control cache.

- set Maximum download size on 'traffic mgmt' squid tab to a value that fits patters your are applying.
Microsoft may need 200Mb and youtube 4GB.]]>
+ set Maximum download size on 'traffic mgmt' squid tab to a value that fits patterns your are applying.
Microsoft may need 200Mb and youtube 4GB.]]>
select none -- cgit v1.2.3