From: Grant Slater Date: Sat, 4 Apr 2020 23:03:37 +0000 (+0100) Subject: tilecache: disable squid siblings X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/38ed35226cf665d8dfa1bf8c7fe7d20e9fd29d49 tilecache: disable squid siblings --- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 3c29f39b3..b5187f3e4 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -36,9 +36,10 @@ acl tile_caches src <%= address %> <% end -%> # Siblings -<% node[:tilecache][:tile_siblings].each do |sibling| -%> -cache_peer <%= sibling %> sibling 3128 4827 htcp weight=1500 -<% end -%> +# Hit rate for sibling is extremely low. Not worth it. +# <% node[:tilecache][:tile_siblings].each do |sibling| -%> +# cache_peer <%= sibling %> sibling 3128 4827 htcp weight=1500 +# <% end -%> # Primary Parent <% if node[:squid][:version] < 4 -%>