-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
42 lines (35 loc) · 977 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[redirects.headers]
Pragma = "no-cache"
Cache-Control = "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
[[headers]]
for = "/service-worker.js"
[headers.values]
Pragma = "no-cache"
Cache-Control = "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
[[headers]]
for = "/js/*"
[headers.values]
Cache-Control = "public,max-age=31536000,immutable"
[[headers]]
for = "/css/*"
[headers.values]
Cache-Control = "public,max-age=31536000,immutable"
[[headers]]
for = "/fonts/*"
[headers.values]
Cache-Control = "public,max-age=31536000,immutable"
[[headers]]
for = "/img/*"
[headers.values]
Cache-Control = "public,max-age=31536000,immutable"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "deny"
X-Download-Options = "noopen"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"