projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0963408
)
donate: add sane content expiry
author
Grant Slater
<git@firefishy.com>
Thu, 22 Sep 2016 00:07:12 +0000
(
01:07
+0100)
committer
Grant Slater
<git@firefishy.com>
Thu, 22 Sep 2016 00:07:12 +0000
(
01:07
+0100)
cookbooks/donate/templates/default/apache.erb
patch
|
blob
|
history
diff --git
a/cookbooks/donate/templates/default/apache.erb
b/cookbooks/donate/templates/default/apache.erb
index 509cf3fdd4de3cfa333488b0913018c2eacf6cf4..9f690cf3f102bd6041b4fdebe98ad96839707cf1 100644
(file)
--- a/
cookbooks/donate/templates/default/apache.erb
+++ b/
cookbooks/donate/templates/default/apache.erb
@@
-76,6
+76,12
@@
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/csv
</IfModule>
+
+ <IfModule mod_expires.c>
+ ExpiresDefault "access plus 15 minutes"
+ ExpiresByType text/html "access plus 5 minutes"
+ ExpiresByType text/csv "access plus 1 minute"
+ </IfModule>
</VirtualHost>
<% end -%>