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
pull/59/head
Marco Borla 2018-12-01 21:11:48 +01:00 committed by GitHub
parent 60005b67cc
commit e12e9bc78f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -79,6 +79,16 @@ Options -MultiViews
ExpiresByType text/x-cross-domain-policy "access plus 1 week"
</IfModule>
# Resolve cache issue
<FilesMatch "\.(html|htm|js|css|php)>
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"
</FilesMatch>
# Gzip compression
<IfModule mod_deflate.c>
<IfModule mod_filter.c>