Content delivery optimization
When creating a resource, you choose the content delivery optimization type. The optimization type determines how the CDN will process content: optimize the delivery of images, video, and text formats or deliver large files in chunks (slices). After creating the resource, you can change the content delivery optimization type.
If you selected the Large files type when creating a resource, you can change the slice size.
Optimization types
Static
The Static type is intended for optimizing the delivery of small files: images, video and audio files, and text formats.
Optimal parameters that cannot be managed are used for image and video processing. To manage the quality and format of images yourself (for example, convert to WebP), you can enable the Image Optimization service.
To process text formats, such as HTML, CSS, JS, JSON, XML, and SVG, the Gzip compression algorithm is used. Additionally, you can enable the Brotli compression algorithm.
Large files
The Large files type is designed for processing files larger than 20 MB. Such files are cached and delivered in chunks (slices) using HTTP Range requests. By default, the slice size is 16 MB. You can change the slice size manually.
Change content delivery optimization type
-
In the control panel, in the top menu, click Products and select CDN.
-
In the CDN resources section, open the resource page → Optimization tab.
-
In the Delivery optimization type block, select the optimization type:
- Static — suitable for delivering small files: images, video and audio files, text formats;
- or Large files — suitable for delivering large files without loss of quality, for example, video. Files are cached and delivered in slices using HTTP Range requests.
-
Optional: if you selected the Large files type, you can change the slice size:
4.1. Select the Specify slice size manually checkbox.
4.2. Specify the slice size. Available values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 MB.
-
Click Apply. While the settings are being applied, the resource will be in the
PROCESSINGstatus. At this time, applying other settings is unavailable. The settings will be applied once the resource switches to theACTIVEstatus.
Change slice size
-
In the control panel, in the top menu, click Products and select CDN.
-
In the CDN resources section, open the resource page → Optimization tab.
-
Make sure that in the Delivery optimization type block, the Large files type is selected.
-
Select the Specify slice size manually checkbox.
-
Specify the slice size. Available values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 MB.
-
Click Apply. While the settings are being applied, the resource will be in the
PROCESSINGstatus. At this time, applying other settings is unavailable. The settings will be applied once the resource switches to theACTIVEstatus.