Content delivery optimization
When creating a resource, you select 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 parts (slices). After creating a resource, you can change the content delivery optimization type.
If you selected the Large files type when creating the 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 are used to process images and videos and cannot be managed. To manage image quality and format yourself (for example, to convert to WebP), you can enable the Image Optimization service.
To process text formats, such as HTML, CSS, JS, JSON, XML, 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 parts (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 → tab Optimization.
-
In the Delivery optimization type block, select an 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 checkbox Specify slice size manually.
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 have the
PROCESSINGstatus. Applying other settings is unavailable during this time. The settings will take effect when the resource status changes toACTIVE.
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 → tab Optimization.
-
Make sure that in the Delivery optimization type block, the Large files type is selected.
-
Select the checkbox Specify slice size manually.
-
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 have the
PROCESSINGstatus. Applying other settings is unavailable during this time. The settings will take effect when the resource status changes toACTIVE.