Skip to content

Commit

Permalink
Fabo/force refresh on index htm (#3433)
Browse files Browse the repository at this point in the history
* no caching for index.html

* changelog
  • Loading branch information
faboweb authored and jbibla committed Jan 17, 2020
1 parent a1489df commit de5d959
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/fabo_force-refresh-on-index-htm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Fixed] Force index.html to not be cached @faboweb
8 changes: 7 additions & 1 deletion public/_headers
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/*
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Content-Security-Policy: frame-ancestors 'self'
Content-Security-Policy: frame-ancestors 'self'

/index.html
cache-control: max-age=0
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate

0 comments on commit de5d959

Please sign in to comment.