Skip to content
Dashboard

Life of a Vercel request: Application-aware routing

Product

Vercel deployments include application-aware request handling, directly from your framework code.

Catch up: Read Part I

Life of a Vercel request: What happens when a user presses enter

Read now

Link to headingRoute-aware and application-aware infrastructure

Framework-defined infrastructure turns each code snapshot into a deployment—an isolated, versioned object that acts as the blueprint for cloud resources, including environment variables, routing rules, caching behavior, and compute.Framework-defined infrastructure turns each code snapshot into a deployment—an isolated, versioned object that acts as the blueprint for cloud resources, including environment variables, routing rules, caching behavior, and compute.
Framework-defined infrastructure turns each code snapshot into a deployment—an isolated, versioned object that acts as the blueprint for cloud resources, including environment variables, routing rules, caching behavior, and compute.

Link to headingAliasing domains on Vercel

Every domain on Vercel is an alias that maps to a specific deployment in the routing layer, ensuring requests are routed to the correct version globally.Every domain on Vercel is an alias that maps to a specific deployment in the routing layer, ensuring requests are routed to the correct version globally.
Every domain on Vercel is an alias that maps to a specific deployment in the routing layer, ensuring requests are routed to the correct version globally.

Link to headingDe-aliasing and early stages of request fulfillment

Requests flow end-to-end through the Vercel Network—starting at the closest Point of Presence, passing through the Vercel Firewall, CDN, and Functions—with routing decisions applied at each stage.Requests flow end-to-end through the Vercel Network—starting at the closest Point of Presence, passing through the Vercel Firewall, CDN, and Functions—with routing decisions applied at each stage.
Requests flow end-to-end through the Vercel Network—starting at the closest Point of Presence, passing through the Vercel Firewall, CDN, and Functions—with routing decisions applied at each stage.

Link to headingA platform unlocked by application-aware routing

Link to headingInstant, global propagation for rollouts and rollbacks

Rollbacks happen instantly by updating the alias to point to a previous deployment. Because routing is handled at the software layer, changes propagate globally within milliseconds—ensuring zero downtime.Rollbacks happen instantly by updating the alias to point to a previous deployment. Because routing is handled at the software layer, changes propagate globally within milliseconds—ensuring zero downtime.
Rollbacks happen instantly by updating the alias to point to a previous deployment. Because routing is handled at the software layer, changes propagate globally within milliseconds—ensuring zero downtime.

Link to headingIncremental rollouts

Deployment-based routing lets you incrementally split traffic between two versions of your codebase for controlled, phased rollouts. In this example, a portion of traffic is gradually shifting to Deployment B.Deployment-based routing lets you incrementally split traffic between two versions of your codebase for controlled, phased rollouts. In this example, a portion of traffic is gradually shifting to Deployment B.
Deployment-based routing lets you incrementally split traffic between two versions of your codebase for controlled, phased rollouts. In this example, a portion of traffic is gradually shifting to Deployment B.

Link to headingSkew Protection against version mismatches

Version mismatches happen when the frontend and backend come from different deployments. Skew Protection avoids this by routing all requests in a session to the same deployment—ensuring consistency across deploys.Version mismatches happen when the frontend and backend come from different deployments. Skew Protection avoids this by routing all requests in a session to the same deployment—ensuring consistency across deploys.
Version mismatches happen when the frontend and backend come from different deployments. Skew Protection avoids this by routing all requests in a session to the same deployment—ensuring consistency across deploys.

Search engines often crawl versioned URLs for weeks after indexing. In most setups, those versions are deleted after new deployments—breaking links and losing traffic. Skew Protection corrects for this, routing outdated crawler requests to the correct version for up to 60 days, keeping pages accessible. Learn how Vercel manages this for you.

Link to headingA continuous, intelligent reverse proxy

Link to headingProgrammatic routing functions

Routing functions and programmable logic—such as middleware, rewrites, and redirects—enable per-request decisions to be made early in the lifecycle of a request.Routing functions and programmable logic—such as middleware, rewrites, and redirects—enable per-request decisions to be made early in the lifecycle of a request.
Routing functions and programmable logic—such as middleware, rewrites, and redirects—enable per-request decisions to be made early in the lifecycle of a request.

Link to headingRewrites and redirects

Vercel routing enables a single application to route requests across multiple underlying applications, commonly referred to as microfrontends in web architectures.Vercel routing enables a single application to route requests across multiple underlying applications, commonly referred to as microfrontends in web architectures.
Vercel routing enables a single application to route requests across multiple underlying applications, commonly referred to as microfrontends in web architectures.
Rewrites route requests to different paths behind the scenes, enabling dynamic URLs and custom domains to serve content from shared application infrastructure—ideal for multi-tenant architectures.Rewrites route requests to different paths behind the scenes, enabling dynamic URLs and custom domains to serve content from shared application infrastructure—ideal for multi-tenant architectures.
Rewrites route requests to different paths behind the scenes, enabling dynamic URLs and custom domains to serve content from shared application infrastructure—ideal for multi-tenant architectures.

Link to headingFramework-defined routing

Try application-aware routing

Start with Vercel to deploy and scale your app with automated, application-aware routing—right from your framework code.

Deploy now