Cloud Girl

Cloud Girl

How Range Request Cache in CDN Works

A video seek asks for a few megabytes, and an older cache design moved 128 MiB. Here is how byte ranges, fixed chunks and a coverage map fix that.

Cloud Girl's avatar
Cloud Girl
Nov 04, 2026
∙ Paid
The whole post in one sketch: slabs over-fetch, chunks plus a coverage map fetch only what is missing.
The whole post in one sketch: slabs over-fetch, chunks plus a coverage map fetch only what is missing.
What the viewer needed versus what crossed the wire.
What the viewer needed versus what crossed the wire.

You drag the video scrubber forward. Your player asks the server for a few megabytes starting at the new spot. Behind the CDN, an older cache design could answer that by pulling 128 MiB from the origin and moving it between data centers. Cloudflare described the problem, and the fix it built into its Pingora cache, in a post on October 23.

This post walks through the mechanics. What a range request looks like on the wire, why cutting a file into fixed cache slabs wastes bytes, and how fixed chunks plus a coverage map let a cache fetch only the missing pieces, share downloads already in flight, and stitch an answer together without ever mixing two versions of a file. Numbers come from Cloudflare's post unless I say otherwise.


Before we go on: if you're building a career in AI, here's what I'm running right now.

Life of a Model, a free 4-part series. Follow one AI model through its lifecycle: build (pre-training), teach (post-training), tune (fine-tuning, distillation, quantization) and ship (evals, inference, deployment).

Save a free seat

Agentic AI Bootcamp for builders and leaders. A new 5-week cohort starts soon. Structure matters, and so does building alongside people who shape AI strategy at the companies you may want to work for. Readers get 35% off.

Join the Bootcamp (35% off)

  • Storytelling for FDE, 7 hours. The framework that got me into boardrooms with Fortune 100 CEOs and three promotions in five years at Google, shared for the first time. Get $250 off with this link.

Now, back to how the cache gets this right.

User's avatar

Continue reading this post for free, courtesy of Cloud Girl.

Or purchase a paid subscription.
© 2026 Priyanka Vergadia · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.