Vercel is changing the default caching behavior for new projects starting April 6th. Previously, responses proxied through rewrites to external origins were uncached by default and required an explicit header to enable caching. Now, Vercel's CDN will automatically honor upstream Cache-Control, CDN-Cache-Control, and Vercel-CDN-Cache-Control headers. Cache Tags can also be used from origins to purge cached content. Existing projects can opt in via the project dashboard, and specific paths can opt out by setting the x-vercel-enable-rewrite-caching header to 0. Developers with new projects proxying to external origins should review their upstream cache headers before April 6th.
Sort: