mirror of https://github.com/flarum/flarum
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/1673pull/59/head
parent
60005b67cc
commit
e12e9bc78f
|
@ -79,6 +79,16 @@ Options -MultiViews
|
||||||
ExpiresByType text/x-cross-domain-policy "access plus 1 week"
|
ExpiresByType text/x-cross-domain-policy "access plus 1 week"
|
||||||
</IfModule>
|
</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
|
# Gzip compression
|
||||||
<IfModule mod_deflate.c>
|
<IfModule mod_deflate.c>
|
||||||
<IfModule mod_filter.c>
|
<IfModule mod_filter.c>
|
||||||
|
|
Loading…
Reference in New Issue