-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
57 lines (46 loc) · 1.41 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
55
56
57
[build]
command = "npm run build"
publish = "dist"
# See: https://answers.netlify.com/t/setting-response-headers-only-on-documents/6144/37
[[headers]]
for = "/assets/*"
[headers.values]
cache-control = "public, max-age=31536000"
[[headers]]
for = "/*.js"
[headers.values]
cache-control = "public, max-age=31536000"
[[headers]]
for = "/*.png"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"
[[headers]]
for = "/*.svg"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"
content-type = "image/svg+xml; charset=UTF-8"
[[headers]]
for = "/site.webmanifest"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"
content-type = "application/manifest+json; charset=UTF-8"
[[headers]]
for = "/"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"
[[headers]]
for = "/about/"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"
[[headers]]
for = "/activities/*"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"
[[headers]]
for = "/contact/"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"
[[headers]]
for = "/success/"
[headers.values]
cache-control = "public, max-age=3600, stale-while-revalidate=43200"