-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
netlify.toml
40 lines (32 loc) · 860 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
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.png"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.jpg"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.webp"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.svg"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.json"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"