Skip to content
Mobrief
Research

Academic or research source. Check the methodology, sample size, and whether it's been replicated.

Scaling redirects to infinity on Vercel

Redirects are trivial at a small scale, but at millions, latency and cost become real systems problems.Previously on Vercel, redirects were handled by routing rules and middleware. Routing rules...

2-Minute Brief
  • According to Vercel Blog: Redirects are trivial at a small scale, but at millions, latency and cost become real systems problems.Previously on Vercel, redirects were handled by routing rules and middleware. Routing rules support up to 2,000 complex redirects with wildcards, and they function as an ordered list evaluated in sequence. Each rule may involve regex matching, meaning a single request could trigger many expensive evaluations. This is acceptable for a few thousand routing rules, but as counts grow, per-request w
Read Original

Scaling redirects to infinity on Vercel

TLDR

Redirects are trivial at a small scale, but at millions, latency and cost become real systems problems.Previously on Vercel, redirects were handled by routing rules and middleware. Routing rules...

2-Minute Brief
  • According to Vercel Blog: Redirects are trivial at a small scale, but at millions, latency and cost become real systems problems.Previously on Vercel, redirects were handled by routing rules and middleware. Routing rules support up to 2,000 complex redirects with wildcards, and they function as an ordered list evaluated in sequence. Each rule may involve regex matching, meaning a single request could trigger many expensive evaluations. This is acceptable for a few thousand routing rules, but as counts grow, per-request w
Open
O open S save B back M mode