-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
54 lines (44 loc) · 1.05 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
[[headers]]
for = "*.js" # js files should be set this way
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.css" # css files too
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.json"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.svg"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.png"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.jpg"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.gif"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.ttf"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.map"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.mp4"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.webm"
[headers.values]
Cache-Control = "public, max-age=604800"