aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-18 18:21:57 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-18 18:21:57 +0200
commit1a4c1710f25933e38a6d25a6220a5b7cf2967df4 (patch)
treeb1926522caa21274e3991e5a1d042ef28bfbb894 /config/squid3
parenta1220dd68b3dbd6b2198e789c1b2463111f14b72 (diff)
downloadpfsense-packages-1a4c1710f25933e38a6d25a6220a5b7cf2967df4.tar.gz
pfsense-packages-1a4c1710f25933e38a6d25a6220a5b7cf2967df4.tar.bz2
pfsense-packages-1a4c1710f25933e38a6d25a6220a5b7cf2967df4.zip
squid3-dev - disable broken Youtube caching feature
Broken (Bug #3847) and not working anyway because of how YT works (http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube#Discussion)
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/33/squid.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/squid3/33/squid.inc b/config/squid3/33/squid.inc
index 9aa1eb46..73be7162 100755
--- a/config/squid3/33/squid.inc
+++ b/config/squid3/33/squid.inc
@@ -1055,6 +1055,8 @@ if(empty($settings['cache_dynamic_content'])){
}
else{
if(preg_match('/youtube/',$settings['refresh_patterns'])){
+ // Broken (Bug #3847) and not working (http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube#Discussion)
+ /*
$conf.=<<< EOC
# Break HTTP standard for flash videos. Keep them in cache even if asked not to.
refresh_pattern -i \.flv$ 10080 90% 999999 ignore-no-cache override-expire ignore-private
@@ -1064,6 +1066,7 @@ acl youtube dstdomain .youtube.com
cache allow youtube
EOC;
+*/
}
if(preg_match('/windows/',$settings['refresh_patterns'])){
$conf.=<<< EOC