From e45938f53c64c71f780718c924060eba5125875f Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 21 Dec 2016 04:24:52 +0000 Subject: [PATCH] Improve caching for alls apps.fp.o based assets Signed-off-by: Patrick Uiterwijk --- roles/apps-fp-o/files/apps.fp.o.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/apps-fp-o/files/apps.fp.o.conf b/roles/apps-fp-o/files/apps.fp.o.conf index fb4f15eec1..a30246308e 100644 --- a/roles/apps-fp-o/files/apps.fp.o.conf +++ b/roles/apps-fp-o/files/apps.fp.o.conf @@ -1,5 +1,11 @@ DocumentRoot /srv/web/apps-fp-o/ + + Header set Cache-Control public + ExpiresDefault "access plus 1 month" + Header unset ETag + + SetEnvIf Origin "http(s)?://(.*\.fedoraproject.org|pagure\.io)$" AccessControlAllowOrigin=$0