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:
parent
e9cdc87554
commit
ed8d937c75
37
netlify.toml
Normal file
37
netlify.toml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user