diff --git a/docs/nitro.config.ts b/docs/nitro.config.ts index de319f4a6..ed0b16fca 100644 --- a/docs/nitro.config.ts +++ b/docs/nitro.config.ts @@ -1,6 +1,11 @@ export default defineNitroConfig({ compatibilityDate: '2026-02-26', preset: 'vercel', + vercel: { + // Sets the `__vdpl` cookie on page loads, so Vercel serves later asset and page chunk + // requests from the same deployment. Needs Skew Protection enabled in the Vercel project. + skewProtection: true, + }, srcDir: '.vitepress', ignore: ['.vitepress/plugins'], routeRules: { diff --git a/docs/vercel.json b/docs/vercel.json index 93f8b1bed..d67f2382b 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -174,7 +174,7 @@ "headers": [ { "key": "Cache-Control", - "value": "cache-control: public, max-age=31536000, immutable" + "value": "public, max-age=31536000, immutable" } ] },