From 4edb9dc9c97827cf30f836068a6e8a7f8fc690ef Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Mon, 16 Apr 2012 11:18:50 -0300 Subject: squid3 - Fix patters typo --- config/squid-reverse/squid.inc | 10 +++++----- config/squid-reverse/squid_cache.xml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'config/squid-reverse') diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index f4939201..3828476e 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -852,7 +852,7 @@ if(empty($settings['cache_dynamic_content'])){ $conf.="cache deny dynamic\n"; } else{ - if(preg_match('/youtube/',$settings['refresh_patters'])){ + if(preg_match('/youtube/',$settings['refresh_patterns'])){ $conf.=<<10 - Refresh Patters - refresh_patters - Youtube and windowsupdate
+ Refresh Patterns + refresh_patterns + Youtube and windowsupdate

Notes:
- set 'Finish transfer if less than x KB remaining' on 'traffic mgmt' squid tab to -1 when applying these patters.

+ 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.]]>
select none -- cgit v1.2.3