From 5897a3eab86a04ce6c12756f291459087754ba55 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 16 Jan 2014 19:25:20 +0000 Subject: [PATCH] tilecache: prefer cache siblings, allow caching of response hits --- cookbooks/tilecache/templates/default/squid.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index aeb7c1e7d..62f52f78d 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -32,7 +32,7 @@ acl osmtile_nocache_url urlpath_regex \.png/(status|dirty)$ cache deny osmtile_sites osmtile_nocache_url <% node[:tilecache][:tile_siblings].each do |sibling| -%> -cache_peer <%= sibling %> sibling 3128 3130 proxy-only +cache_peer <%= sibling %> sibling 3128 3130 weight=1500 <% end -%> #Primary Parent cache_peer <%= node[:tilecache][:tile_parent] %> parent 80 0 no-query originserver name=osmtileAccel login=PASS connect-timeout=60 no-digest weight=1000 -- 2.43.2