Skip to content

Commit

Permalink
fix: Added cache-control immutable header
Browse files Browse the repository at this point in the history
While it works fine without this header in Chrome, this is needed for Firefox to cache without re-validation.
  • Loading branch information
Trikolon authored Aug 29, 2020
1 parent 2f032a3 commit c4600cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/_headers
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Set required http headers for hsts and disable cache revalidation
/*
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Cache-Control: public, max-age=6480000
Cache-Control: public, max-age=6480000, immutable

## Index should always revalidate
/index.html
Expand Down

0 comments on commit c4600cc

Please sign in to comment.