EdgeNext
Documentation home

EdgeNext Documentation

Product guides, setup instructions, and technical references.

Security CDN

Gzip Compression

Gzip Compression is a widely supported content compression technology that significantly reduces the size of text-based resources (such as HTML, CSS, JavaScript, JSON, etc.), thereby speeding up page load times and reducing bandwidth usage.
Security CDN supports enabling Gzip compression, allowing edge nodes to dynamically compress specified file types before delivering them to clients. This feature enhances performance, especially in mobile networks and high-latency environments

Notes

  1. Currently supported file types for compression include:
    text/html, text/plain, text/xml, text/css, text/javascript, text/x-javascript, application/xml, application/xml+css, application/rss+xml, application/javascript, application/x-javascript, application/json, image/svg+xml, image/tiff, image/x-icon, image/vnd.microsoft.icon
  2. Common image formats (PNG, JPG, JPEG, etc.) and video formats (MP4, AVI, WMV, etc.) are typically already compressed and therefore are not subjected to Gzip compression.
  3. If MD5 checksum verification with the origin server files is required, please do not enable this feature.

Configuration Guide

Scenario 1: Global Domain Configuration

  1. Log in to the Security CDN Console.

  2. In the left navigation bar, select Speed & Cache, then click Acceleration to enter the Global Acceleration Policy page.

    速度与网络全局配置1.png

  3. Scroll down and select the Performance Optimization - Gzip Compression module.

    Gzip压缩1.png

  4. The system enables Gzip compression by default. Toggling the switch will trigger a secondary confirmation dialog to confirm enabling or disabling the feature.

    Gzip压缩2.png

Scenario 2: Domain Acceleration Template Configuration

  1. Log in to the Security CDN Console.

  2. In the left navigation bar, select Speed & Cache, then click Acceleration to enter the Global Acceleration Policy page.

  3. Click Domain Acceleration Template Configuration at the top to switch to the Speed & Network Template Management page.

  4. In the template list, select the template to adjust, then click Policy Management in the operations column to enter the template configuration page.

  5. Scroll down to the Performance Optimization - Gzip Compression module.

    Gzip压缩3.png

  6. Scroll down to locate the Performance Optimization – Gzip Compression module. When toggling the switch, a confirmation dialog will appear to confirm enabling Gzip compression.

    Gzip压缩4.png

Need help? Contact our support team at support@edgenext.com.

Back to documentation home