-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathnetlify.toml
41 lines (34 loc) · 960 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
[[headers]]
for = "/"
[headers.values]
Cache-Control = "public, max-age=600"
[[headers]]
for = "*.manifest"
[headers.values]
Cache-Control = "public, max-age=600"
[[headers]]
for = "*.png"
[headers.values]
Cache-Control = "public, max-age=600"
[[headers]]
for = "*.jpeg"
[headers.values]
Cache-Control = "public, max-age=600"
[[headers]]
for = "*.js"
[headers.values]
# default public, max-age=14400, must-revalidate
Cache-Control = "public, max-age=14400, stale-while-revalidate=604800"
[[headers]]
for = "*.css"
[headers.values]
# default public, max-age=14400, must-revalidate
Cache-Control = "public, max-age=14400, stale-while-revalidate=604800"
[[headers]]
for = "*.woff"
[headers.values]
Cache-Control = "public, max-age=14400, stale-while-revalidate=604800"
[[headers]]
for = "*.woff2"
[headers.values]
Cache-Control = "public, max-age=14400, stale-while-revalidate=604800"