# Origin Range Requests: Serving large files without range-request tuning

DevFeed: [Origin Range Requests: Serving large files without range-request tuning](<https://devfeed.tech/articles/origin-range-requests-serving-large-files-without-range-request-tuning-98271.md>)

Original publisher: [Read original article](<https://blog.cloudflare.com/origin-range-requests/>)

Author: Matthew Gumport

Published: 2026-10-23T18:22:59Z

Content type: article

Language: en

Sources: [Cloudflare Blog](<https://devfeed.tech/sources/cloudflare-blog.md>)

Topics: [proxy](<https://devfeed.tech/topics/proxy.md>), [Service fabric](<https://devfeed.tech/topics/service-fabric.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [advertising](<https://devfeed.tech/tags/advertising.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-training](<https://devfeed.tech/tags/ai-training.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [can](<https://devfeed.tech/tags/can.md>), [files](<https://devfeed.tech/tags/files.md>), [half](<https://devfeed.tech/tags/half.md>), [large](<https://devfeed.tech/tags/large.md>), [large-files](<https://devfeed.tech/tags/large-files.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pingora](<https://devfeed.tech/tags/pingora.md>), [product-news](<https://devfeed.tech/tags/product-news.md>), [r2](<https://devfeed.tech/tags/r2.md>), [range](<https://devfeed.tech/tags/range.md>), [request](<https://devfeed.tech/tags/request.md>), [small](<https://devfeed.tech/tags/small.md>), [storage](<https://devfeed.tech/tags/storage.md>), [waste](<https://devfeed.tech/tags/waste.md>)

## AI overview

Cloudflare's Origin Range Requests feature coordinates partial file delivery around fixed-size cache chunks, removing the need to tune a per-zone range size. For requested bytes already cached, Cloudflare serves them directly; it fetches missing bytes in chunk-aligned ranges, can join in-flight downloads, stores successful coverage, and returns only the client's requested range. It validates range responses, file size, and entity tags before combining bytes; when ranges cannot be honored safely, it serves the full representation. This bounds extra origin work, though requests smaller than a chunk can still fetch the whole chunk. The feature is enabled through a Cache Rule and requires an otherwise cacheable response and an origin that supports byte ranges. Cloudflare reports roughly half the p99 time-to-first-byte for R2 and a later change reduced tiered-cache traffic for R2 and similar workloads by about 6% week over week.

## Source excerpt

Naive byte-range caching can waste gigabytes of origin bandwidth on small requests. We rebuilt our cache architecture in Pingora to coordinate partial fetches automatically, cutting R2 p99 latency in half.