]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/templates/default/apache.erb
Enable caching for certain taginfo responses
[chef.git] / cookbooks / taginfo / templates / default / apache.erb
index 9ebca518e907a6f60d3e11f0d7b8ae9b4407d1a1..6c700972c748e25bb15b0ae9a3c091acec40f3ac 100644 (file)
@@ -17,5 +17,8 @@
         RackEnv production
         PassengerMinInstances 10
         PassengerPreStart http://<%= @name %>/
+
+        CacheEnable disk /api
+        CacheEnable disk /embed
 </VirtualHost>
 <% end -%>