Skip to main content

Optimize delivery of large files

Last update:

Optimize delivery of large files

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 cacheTo 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 go to CDNCDN resources.
  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.