1
mirror of https://github.com/jakejarvis/synonyms-for-awesome.git synced 2025-04-26 06:25:22 -04:00

Update netlify.toml

This commit is contained in:
Jake Jarvis 2019-07-17 14:41:25 -04:00
parent e9cdc87554
commit ed8d937c75
No known key found for this signature in database
GPG Key ID: D36CB66F4002B25B

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"