Repository navigation
Expand file tree
/
Copy path_headers
More file actions
39 lines (30 loc) · 1.46 KB
/
Copy path_headers
File metadata and controls
39 lines (30 loc) · 1.46 KB
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
# Cloudflare Pages response headers.
# CSS and JS are referenced with a ?v=<content hash> stamped by
# tools/build-dist.sh, so the URL changes whenever the file does.
/*
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=31536000
Permissions-Policy: geolocation=(), microphone=(), camera=(), interest-cohort=()
Content-Security-Policy: default-src 'self'; script-src 'self' https://challenges.cloudflare.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self' https://api.supportgeni.us; frame-src https://challenges.cloudflare.com; form-action 'self'; frame-ancestors 'self'; base-uri 'self'; object-src 'none'
/assets/*.css
Cache-Control: public, max-age=31536000, immutable
/assets/*.js
Cache-Control: public, max-age=31536000, immutable
/assets/*.svg
Cache-Control: public, max-age=604800
# The film: large, rarely changes. A day, not immutable, so a re-cut film is
# picked up without a URL change.
/assets/films/*
Cache-Control: public, max-age=86400
/assets/films/*.mp4
Content-Type: video/mp4
# PNGs keep their filenames when regenerated, so a week, not immutable.
/assets/*.png
Cache-Control: public, max-age=604800
/llms.txt
Cache-Control: public, max-age=3600
Content-Type: text/plain; charset=utf-8
/.well-known/security.txt
Content-Type: text/plain; charset=utf-8