chore: update meta, caching and headers (#37159)

This commit is contained in:
mrugesh
2019-10-09 14:23:41 -07:00
committed by GitHub
parent ba1d5f9b60
commit cc3c9a8fa2
4 changed files with 149 additions and 63 deletions

20
client/static/_headers Normal file
View File

@@ -0,0 +1,20 @@
/css/*
Cache-Control: public, s-max-age=604800
/fonts/*
Cache-Control: public, s-max-age=604800
/json/*
Cache-Control: public, s-max-age=604800
/learn/*
X-Robots-Tag: none
/fonts/*
Cache-Control: public, s-max-age=604800
/fonts/*
Cache-Control: public, s-max-age=604800
/*.css
Cache-Control: public, s-max-age=604800
/sw.js
Cache-control: public, s-max-age=0, no-cache, no-store, must-revalidate
/*.worker.js
Cache-Control: public, s-max-age=604800
/*.js
Cache-Control: public, s-max-age=604800