Skip to content

Commit 714fb25

Browse files
committed
Adds info about client side range request
1 parent 85dcc1d commit 714fb25

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/docs/cache/concepts/default-cache-behavior.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ If both `max-age` and an `Expires` header are set, `max-age` will be used by Clo
2929

3030
When [Origin Cache Control](/cache/concepts/cache-control/) is enabled on an Enterprise customer’s website, it indicates that Cloudflare should strictly respect `Cache-Control` directives received from the origin server. Free, Pro and Business customers have this feature enabled by default. For a list of directives and behaviors when Origin Cache-Control is enabled or disabled, refer to [Cache-Control directives](/cache/concepts/cache-control/#cache-control-directives).
3131

32+
## Client side range requests
33+
34+
Cloudflare supports clients to send range requests to be served from the cache. For a cacheable request, if the origin response includes a `Content-Length` header, then the specified byte range will be returned with a HTTP 206 response. If it does not include the `Content-Length` header, the cache will return the full content with a HTTP 200 response.
35+
3236
## Default cached file extensions
3337

3438
Cloudflare only caches based on file extension and not by MIME type. The Cloudflare CDN does not cache HTML or JSON by default. Additionally, by default Cloudflare caches a website's robots.txt.

0 commit comments

Comments
 (0)