-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
27 lines (23 loc) · 770 Bytes
/
Copy pathnetlify.toml
File metadata and controls
27 lines (23 loc) · 770 Bytes
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
# Netlify configuration for the BRRR Calculator (static site)
[build]
publish = "public"
command = ""
# Security + cost-control headers applied to every response
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "geolocation=(), microphone=(), camera=()"
# Cache static assets for a year (they are immutable per deploy)
Cache-Control = "public, max-age=3600"
# Long cache for fingerprinted assets if you add hashing later
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "public, max-age=86400"
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "public, max-age=86400"