I was wondering why the piwik removal in fedora-websites:d2ea93b92af1df685246887a9262a8c0ba5a78ec didn't show up. It turns out my browser cached the HTML from getfedora.org. I talked with Patrick and our caching headers are set to 5 days, which seems problematic given that we probably want all users to see our releases without needing to force-refresh on release day. I talked with Patrick he suggested lowering it to 30 minutes (which I agree with), since this is all static data so there shouldn't be any extra load to speak of. +1s to lower static caching everywhere from 5 days to 30 minutes? -re commit 82417064e4e7c285396963b396b2f436e02f2a3e Author: Ricky Elrod <codeblock@xxxxxxxxxxxxxxxxx> Date: Fri Jun 9 06:30:47 2017 +0000 Change static content caching from 5 days to 30 minutes Signed-off-by: Ricky Elrod <codeblock@xxxxxxxxxxxxxxxxx> diff --git a/roles/developer/website/files/developer.conf b/roles/developer/website/files/developer.conf index 5a4590d..49d0b71 100644 --- a/roles/developer/website/files/developer.conf +++ b/roles/developer/website/files/developer.conf @@ -6,4 +6,4 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-docs/proxy/files/fedora-docs.conf b/roles/fedora-docs/proxy/files/fedora-docs.conf index cd3d100..f48a2ce 100644 --- a/roles/fedora-docs/proxy/files/fedora-docs.conf +++ b/roles/fedora-docs/proxy/files/fedora-docs.conf @@ -17,4 +17,4 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-web/alt/files/alt.conf b/roles/fedora-web/alt/files/alt.conf index 252b87a..b355733 100644 --- a/roles/fedora-web/alt/files/alt.conf +++ b/roles/fedora-web/alt/files/alt.conf @@ -8,4 +8,4 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-web/arm/files/arm.conf b/roles/fedora-web/arm/files/arm.conf index aa8f7ac..09a99c8 100644 --- a/roles/fedora-web/arm/files/arm.conf +++ b/roles/fedora-web/arm/files/arm.conf @@ -6,4 +6,4 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-web/budget/files/budget.conf b/roles/fedora-web/budget/files/budget.conf index 456500a..17c01d1 100644 --- a/roles/fedora-web/budget/files/budget.conf +++ b/roles/fedora-web/budget/files/budget.conf @@ -6,4 +6,4 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-web/flocktofedora/files/flocktofedora.org.conf b/roles/fedora-web/flocktofedora/files/flocktofedora.org.conf index e21b4af..0764129 100644 --- a/roles/fedora-web/flocktofedora/files/flocktofedora.org.conf +++ b/roles/fedora-web/flocktofedora/files/flocktofedora.org.conf @@ -6,4 +6,4 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-web/fudcon/files/fudcon.conf b/roles/fedora-web/fudcon/files/fudcon.conf index 330d159..1266a90 100644 --- a/roles/fedora-web/fudcon/files/fudcon.conf +++ b/roles/fedora-web/fudcon/files/fudcon.conf @@ -9,4 +9,4 @@ Redirect /design-suite http://fudcon.fedoraproject.org/design Redirect /electronic-lab http://fudcon.fedoraproject.org/fel ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-web/getfedora/files/getfedora.org.conf b/roles/fedora-web/getfedora/files/getfedora.org.conf index 6359f0c..3a89898 100644 --- a/roles/fedora-web/getfedora/files/getfedora.org.conf +++ b/roles/fedora-web/getfedora/files/getfedora.org.conf @@ -8,7 +8,7 @@ Alias /fmw /srv/web/fmw/ FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" <Directory /srv/web/getfedora.org> AllowOverride FileInfo diff --git a/roles/fedora-web/labs/files/labs.conf b/roles/fedora-web/labs/files/labs.conf index b4254ea..cc86d59 100644 --- a/roles/fedora-web/labs/files/labs.conf +++ b/roles/fedora-web/labs/files/labs.conf @@ -6,4 +6,4 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application FileETag MTime Size ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/fedora-web/spins/files/spins.conf b/roles/fedora-web/spins/files/spins.conf index 91ffbc0..4b486c7 100644 --- a/roles/fedora-web/spins/files/spins.conf +++ b/roles/fedora-web/spins/files/spins.conf @@ -12,4 +12,4 @@ RedirectMatch /(.*)/design-suite/ http://spins.fedoraproject.org/$1/design RedirectMatch /(.*)/electronic-lab/ http://spins.fedoraproject.org/$1/fel ExpiresActive On -ExpiresDefault "access plus 5 days" +ExpiresDefault "access plus 30 minutes" diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.pkgdb.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.pkgdb.conf index c1cf163..2393b86 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.pkgdb.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.pkgdb.conf @@ -15,19 +15,19 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application <Location /pkgdb/static> ExpiresActive On - ExpiresDefault "access plus 5 days" + ExpiresDefault "access plus 30 minutes" AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript </Location> <Location /pkgdb/tg_js> ExpiresActive On - ExpiresDefault "access plus 5 days" + ExpiresDefault "access plus 30 minutes" AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript </Location> <Location /pkgdb/appicon> ExpiresActive On - ExpiresDefault "access plus 5 days" + ExpiresDefault "access plus 30 minutes" AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript </Location> diff --git a/roles/people/templates/people.conf b/roles/people/templates/people.conf index aec12b9..117950bc 100644 --- a/roles/people/templates/people.conf +++ b/roles/people/templates/people.conf @@ -42,7 +42,7 @@ NameVirtualHost *:80 <Location /userdefs/> ExpiresActive On - ExpiresDefault "access plus 5 days" + ExpiresDefault "access plus 30 minutes" </Location> <Directory /srv/people/site> diff --git a/roles/planet/templates/planet.conf b/roles/planet/templates/planet.conf index a5591c3..a010cfc 100644 --- a/roles/planet/templates/planet.conf +++ b/roles/planet/templates/planet.conf @@ -20,12 +20,12 @@ <Location /images/> ExpiresActive On - ExpiresDefault "access plus 5 days" + ExpiresDefault "access plus 30 minutes" </Location> <Location /css/> ExpiresActive On - ExpiresDefault "access plus 5 days" + ExpiresDefault "access plus 30 minutes" </Location> <Directory "/srv/planet/site/"> _______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx