Optimize delivery of large files
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 cache To ensure that users receive the latest version.
Enable optimization of large file delivery
- Ensure that requests with an HTTP header are supported at the source
Range
. - In control panel go to CDN → CDN resources.
- Open the CDN resource page → tab Settings.
- Open the card Content.
- Check the box Optimize delivery of large files.
- Click Save. The optimization will work within 30 minutes.