Skip to main content

Content delivery optimization

When creating a resource, you choose the content delivery optimization type. The optimization type determines how the CDN processes content: optimizes the delivery of images, video, and text formats or delivers 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.

For processing 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 intended for processing files larger than 20 MB. These 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

  1. In the control panel, on the top menu, click Products and select CDN.

  2. In the CDN Resources section, open the resource page → Optimization tab.

  3. 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.
  4. 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.

  5. Click Apply. While settings are being applied, the resource enters the PROCESSING status. You cannot apply other settings during this time. Settings take effect when the resource transitions to ACTIVE.

  6. Clear the cache.

Change slice size

  1. In the control panel, on the top menu, click Products and select CDN.

  2. In the CDN Resources section, open the resource page → Optimization tab.

  3. Ensure that the Large files type is selected in the Delivery optimization type block.

  4. Select the Specify slice size manually checkbox.

  5. Specify the slice size. Available values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 MB.

  6. Click Apply. While settings are being applied, the resource enters the PROCESSING status. You cannot apply other settings during this time. Settings take effect when the resource transitions to ACTIVE.

  7. Clear the cache.