1
mirror of https://github.com/jakejarvis/synonyms-for-awesome.git synced 2026-01-14 10:12:58 -05:00

Update netlify.toml

This commit is contained in:
2019-07-17 14:41:25 -04:00
parent e9cdc87554
commit ed8d937c75

37
netlify.toml Normal file
View File

@@ -0,0 +1,37 @@
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
Cache-Control = "max-age=3600, public"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "same-origin"
X-UA-Compatible = "IE=edge"
X-DNS-Prefetch-Control = "off"
[[headers]]
for = "/img/*"
[headers.values]
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.css"
[headers.values]
Cache-Control = "max-age=604800, public"
[[headers]]
for = "/css/fonts/*"
[headers.values]
Cache-Control = "max-age=31536000, public"
[[headers]]
for = "*.js"
[headers.values]
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.txt"
[headers.values]
Cache-Control = "max-age=604800, public"