diff --git a/src/server/RenderHtml.ts b/src/server/RenderHtml.ts index f2706ca6f..d7a334a97 100644 --- a/src/server/RenderHtml.ts +++ b/src/server/RenderHtml.ts @@ -77,6 +77,10 @@ export async function renderAppShell( htmlPath: string, ): Promise { const rendered = await getAppShellContent(htmlPath); - setAppShellCacheHeaders(res); + // Cannot edge-cache the app shell: Cloudflare's auto-CSP rotates the + // nonce in the response header on every request, but a cached body + // freezes the nonces in inline