Skip to main content
Optimize delivery of large files
Last update:

Optimize delivery of large files

warning

We are discontinuing support for the Akamai provider. Creating new Akamai CDN resources is not available, existing Akamai resources will cease to function and will be deleted on May 1, 2025. We recommend switching to a Selectel provider now to avoid website outages. To connect Selectel CDN, please use the instructions in the following section Connect CDN.

The option cannot be used if the resource has the following enabled compression on CDN servers or compression at source.

The option speeds up caching of large files.

Principle of operation

All files larger than 10 MB are downloaded from the source to the CDN server cache in 10 MB chunks. For example, a 56 MB video will be split into six parts: five 10 MB parts and the last part is the remaining 6 MB. If the user watches only half of the video, the CDN server will request only the first three parts from the source.

If you have updated the file and optimization is enabled for the resource — clear the cache To ensure that users receive the latest version.

Enable optimization of large file delivery

  1. Ensure that requests with an HTTP header are supported at the source Range.
  2. В control panels from the top menu, press Products and select CDN.
  3. Open the CDN resource page → tab Settings.
  4. Open the card Content.
  5. Check the box Optimize delivery of large files.
  6. Click Save. The optimization will work within 30 minutes.