All pages
Powered by GitBook
1 of 1

Loading...

Range Based Caching

Cache partial content based on byte ranges so the CDN can serve only the requested portions of large files.

Range Based Caching allows the CDN to cache and deliver content in byte-range segments rather than requiring the entire file to be fetched or cached. This improves performance for large files such as videos, archives, or software downloads by serving only the requested portions.

You can manage Range Based Caching in the Medianova Control Panel or via API.

Select a CDN resource in the CDN section, and navigate to the Caching tab.

Configure Range Based Caching

1

Enable Range Based Caching

Toggle Range Based Caching to On to allow the CDN to cache partial byte-range segments.

2

Select Segment Size

Choose a Segment Size value to define how large each cached byte-range segment should be. This determines how the CDN partitions and stores partial content.

3

Save the Configuration

Click Submit to apply the Range Based Caching settings.

Behaviour

  • The CDN caches content in fixed-size byte segments defined by Segment Size.

  • Requests for ranges within the same segment are served directly from cache.

  • Useful for video playback, downloads, and large binary files where clients request only parts of a resource.

  • A smaller segment size increases cache precision but may increase the number of stored segments.

FAQ

Does Range Based Caching improve video streaming performance? Yes. It prevents the CDN from fetching the entire file when only a portion is requested, improving responsiveness.

What happens if I change the Segment Size? New segment size applies only to future cached segments. Existing segments remain until evicted.

Is this feature required for byte-range requests to work? Byte-range requests work regardless, but enabling Range Based Caching ensures partial responses can come from cache instead of the origin.