X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5145c748af08a7dcae1b38deb783d74c2b550ea2..2fa4b09c609ade8b4c3c2782c22608b8db464784:/cookbooks/donate/templates/default/apache.erb
diff --git a/cookbooks/donate/templates/default/apache.erb b/cookbooks/donate/templates/default/apache.erb
index 509cf3fdd..20f00e10c 100644
--- a/cookbooks/donate/templates/default/apache.erb
+++ b/cookbooks/donate/templates/default/apache.erb
@@ -16,7 +16,7 @@
<% if port == 80 -%>
# Redirect to secure site
- Redirect permanent / https://donate.openstreetmap.org
+ Redirect permanent / https://donate.openstreetmap.org/
<% end -%>
<% if port == 443 -%>
#
@@ -74,8 +74,15 @@
# Enable deflate compression on .csv files if possible
+ DeflateCompressionLevel 9
AddOutputFilterByType DEFLATE text/csv
+
+
+ ExpiresDefault "access plus 15 minutes"
+ ExpiresByType text/html "access plus 5 minutes"
+ ExpiresByType text/csv "access plus 1 minute"
+
<% end -%>