megachangelog
Feature

Vercel CDN now respects Cache-Control headers from external origins by default

Starting April 6th, new Vercel projects will automatically honor Cache-Control headers when proxying requests to external origins, eliminating the need for the x-vercel-enable-rewrite-caching header. Existing projects can opt into this new caching behavior from the project dashboard.

New Vercel projects will honor by default when proxying requests to external origins, starting April 6th.cache-controlheaders

Previously, responses served through rewrites to external origins were uncached by default, and enabling caching required the header in . Now, Vercel's CDN automatically respects your origin's caching headers.x-vercel-enable-rewrite-cachingvercel.json

What's changing:

Review your upstream cache headers before April 6th when creating a new project that proxies to external origins without caching, ensuring they reflect your intended caching strategy.

Learn more about and configure routing in the of your project settings.Rewrites to External OriginsCDN tab

Read more

  • For new projects, Vercel will cache responses from external origins according to upstream , and headers by default.Cache-ControlCDN-Cache-Control Vercel-CDN-Cache-Control

  • You can use ( header) from your origins to purge cached content.Cache TagsVercel-Cache-Tag

  • Existing projects can opt in to the new caching behavior from the .project dashboard

  • You can opt out of caching for specific request paths by setting the header to .x-vercel-enable-rewrite-caching0

cdncachingrewritesperformanceexternal-origins

Source: original entry ↗

More from Vercel

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

Feature

OpenAI Decisions API now available on AI Gateway

OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.

ai-gatewayopenaiapidecisionssdks
Feature

Timestamp attributes now supported in Vercel Flags

Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.

flagstargetingfeaturetimestampscampaigns
Feature

Glyph Cluster now available in stealth on AI Gateway

Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.

ai-gatewaymodelscodingstealth
See all Vercel changes →