You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04d6b6b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/adr/0052-public-runtime-and-retention-architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ The request log follows the same rule rather than a second one. `public-error-ob
75
75
76
76
Two absences are deliberate. `X-Frame-Options` is not sent, because `frame-ancestors 'none'` says the same thing to every browser that has shipped in a decade and two spellings of one rule drift. `Cross-Origin-Embedder-Policy` is not sent, because cross-origin isolation buys `SharedArrayBuffer`, which the measured render lane does not use, and `require-corp` would break cross-origin subresources for no gain.
77
77
78
-
The policy is composed at request time rather than built in, because the profile decides it and the profile is a runtime input. SvelteKit owns the nonce on the app shell's inline bootstrap script, so `kit.csp` declares `script-src` and the hook merges what SvelteKit emitted into the full policy — a CSP is enforced as a whole, so a second header would only intersect with the first and drop that nonce. `style-src` carries `'unsafe-inline'` on purpose: the engine positions and animates every composition element through inline `style` attributes, and there is no hash or nonce form for an attribute that changes every frame. `blob:` is allowed as an image, as media, and over `fetch`, because a visitor's own media never reaches the origin — it is read from a granted file handle into an object URL. The header layer covers every response the SvelteKit handler produces; `build/client` is served by the Node adapter's own static handler ahead of the hook and keeps that handler's immutable caching, which is the adapter's lane and has no configuration seam.
78
+
The policy is composed at request time rather than built in, because the profile decides it and the profile is a runtime input. SvelteKit owns the nonce on the app shell's inline bootstrap script, so `kit.csp` declares `script-src` and the hook merges what SvelteKit emitted into the full policy — a CSP is enforced as a whole, so a second header would only intersect with the first and drop that nonce. `https://analytics.tolin.ski` is the one external script and connection origin admitted for page-view analytics; it receives no composition content. `style-src` carries `'unsafe-inline'` on purpose: the engine positions and animates every composition element through inline `style` attributes, and there is no hash or nonce form for an attribute that changes every frame. `blob:` is allowed as an image, as media, and over `fetch`, because a visitor's own media never reaches the origin — it is read from a granted file handle into an object URL. The header layer covers every response the SvelteKit handler produces; `build/client` is served by the Node adapter's own static handler ahead of the hook and keeps that handler's immutable caching, which is the adapter's lane and has no configuration seam.
79
79
80
80
**No durable content.** The public runtime persists nothing on behalf of a visitor: no accounts, no server-side composition store, no uploaded media, no output archive.
0 commit comments