# How we cut CDN metadata lookup latency by 91%

By Steven Van · 2026-09-10

The CDN now groups routing metadata into 200 KB shards instead of per-path lookups, based on production tests run in August 2026.

[Vercel](<https://creatorstoolbox.com/tools/vercel>) rebuilt how its CDN looks up routing metadata for incoming requests, cutting P99 lookup latency by 91%, from 215.8 ms to 19.1 ms, based on production traffic measured August 5-12, 2026.

The CDN used to cache metadata one path at a time, so every new deployment created fresh cache keys and a fresh round of cache misses, a recurring cost for large sites with hundreds of thousands of paths that deploy frequently. Vercel now groups path metadata into bounded "shards" of about 200 KB, each with an inline index that lets the CDN binary-search for a single path's metadata without parsing the rest of the shard. One fetch now warms every path in a shard instead of just one.

Average lookup latency dropped 79%, from 8.59 ms to 1.81 ms, and standard deviation fell 58%, from 44.9 ms to 19.0 ms. Vercel [tested the change](<https://vercel.com/blog/how-we-cut-cdn-metadata-lookup-latency-by-91-percent>) offline against a harness that compared old and new lookups for every path, then ran both lookups in production behind a feature flag for several weeks before switching over.

[![](<https://assets.vercel.com/image/upload/contentful/image/e5382hct74si/383wDwFuSpoJAhvn3jeibX/f4e0a1c6b340d860b4fcd699e3e2a1a4/reducing_cdn_metadata_lookup_latency_by_91_og_card_1_.jpg>)](<https://vercel.com/blog/how-we-cut-cdn-metadata-lookup-latency-by-91-percent>)

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

Sources

[Original source](<https://vercel.com/blog/how-we-cut-cdn-metadata-lookup-latency-by-91-percent>)

[Read How we cut CDN metadata lookup latency by 91% on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-how-we-cut-cdn-metadata-lookup-latency-by-91>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-how-we-cut-cdn-metadata-lookup-latency-by-91
