Blue-Green Deployments
Introducing Skew Protection

Introducing Skew Protection

6/21/2023

What this post added

Introduces Skew Protection, a novel mechanism to eliminate version skew between web clients and servers. This feature ensures that clients that loaded an application with a specific version are routed to servers running that exact same version, preventing errors caused by API changes or client-server version mismatches during deployments. It leverages Vercel's immutable deployments and edge infrastructure to route requests based on a deployment ID encoded in the response HTML. Configuration is available via `next.config.js` for Next.js, with support for other frameworks planned.

Read the original post ↗