cache static assets for 3 hours at least (#242)

* cache static assets for 3 hours at least

* moving _headers to the static folder
This commit is contained in:
Inian authored and GitHub committed 2020-10-08 20:34:46 +08:00
1 parent e3c10ff758
commit b818728a2f
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
/*.css
Cache-Control: public, max-age=10800
/*.js
Cache-Control: public, max-age=10800
/*.png
Cache-Control: public, max-age=10800
/*.jpg
Cache-Control: public, max-age=10800
/*.svg
Cache-Control: public, max-age=10800
/*.gif
Cache-Control: public, max-age=10800
/*
X-Frame-Options: DENY