From e12e9bc78fa9b6161189b7cd70b98d6da14ba6a9 Mon Sep 17 00:00:00 2001 From: Marco Borla Date: Sat, 1 Dec 2018 21:11:48 +0100 Subject: [PATCH] Update .htaccess This can be a solution for resolve a cache issue. Works for me! https://discuss.flarum.org/d/17793-a-force-refresh-fixes-everything-temporarily/49 https://github.com/flarum/core/issues/1673 --- public/.htaccess | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index 373746f..cc858cb 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -79,6 +79,16 @@ Options -MultiViews ExpiresByType text/x-cross-domain-policy "access plus 1 week" +# Resolve cache issue + + +FileETag None +Header unset ETag +Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" +Header set Pragma "no-cache" +Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" + + # Gzip compression