megachangelog
Breaking

Vercel CDN no longer caches responses with Vary: Cookie

Vercel CDN has changed its caching behavior to exclude responses with the Vary: Cookie header, as cookies often contain visitor-specific values that create cache entries with poor reuse rates. Users can identify affected responses via the x-vercel-cache header showing MISS and vary_key_denied:cookie in Runtime Logs, and can restore caching by removing Cookie from the Vary header or using Cache-Control: private if the response depends on cookies.

Vercel CDN no longer caches origin responses when includes . VaryCookie

tells a cache which request headers may change the response. Because cookies often contain visitor-specific values, varying by can create many cache entries that are rarely reused. The response is still served normally but isn't stored for future requests.VaryCookie

You can identify these responses by checking the header and . The header is set to , and Logs show as the cache reason.x-vercel-cacheMISSvary_key_denied:cookieRuntime Logs

If Logs show for a route you expect to be cached, check the header returned by your origin:vary_key_denied:cookieVary

Caching behavior for other supported headers is unchanged.Vary

Learn more about and the .high-cardinality headers cache reasonvary_key_denied

Read more

  • If the response is the same regardless of cookies, remove from . Vercel CDN can then cache it if it meets the other caching requirements.CookieVary

  • If the response depends on cookies, keep in and use to prevent personalized responses from being stored in the shared CDN cache.CookieVaryCache-Control: private

cdncachingperformancevary-header

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →