shipfeedAI news, curated daily

23:06:00 CET
20 MAY23:06:00shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

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

Vercel's CDN will automatically respect Cache-Control headers from external origins for new projects by default starting April 6th, replacing the previous opt-in behaviour via vercel.json.

Mar 30 · · primary fetch1 sourceupdated Mar 30 ·

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

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comVercel CDN now respects Cache-Control headers from external origins by defaultprimary