Yesterday's Top Poster

Vercel's CDN now supports updating routing rules without a new deployment

  • Thread starter Thread starter Mark Knichel, Andrew Gadzik, Yash Kothari, Hannah
  • Start date Start date
You can now create and update routing rules within a project, such as setting response headers or rewrites to an external API, without building a new deployment.

Project-level routing rules are available via the dashboard, API, CLI, and Vercel SDK and take effect instantly after you make and publish the change. Project-level routes run after bulk redirects and before your deployment config's routes.

With this addition, Vercel's CDN now supports three routing mechanisms:


  • Routes defined in your deployment configuration (via vercel.json, vercel.ts, or next.config.js)


  • Bulk redirects


  • Project-level routes

Project-level routes are available on all plans starting today. Read the documentation or go to the CDN tab in your project dashboard to get started.

Read more

Continue reading...
 
Back
Top