tencent cloud

All product documents
Cloud Object Storage
DocumentationCloud Object StoragePractical Tutorial Domain Name Management Practice Configuring a Custom CDN Domain Name to Support Gzip Compression
Configuring a Custom CDN Domain Name to Support Gzip Compression
Last updated: 2024-12-16 16:34:35
Configuring a Custom CDN Domain Name to Support Gzip Compression
Last updated: 2024-12-16 16:34:35

Overview

This document only describes how to configure Gzip compression in the Cloud Object Storage (COS) console. To add it in the CDN console, see the CDN Intelligent Compression Configuration document.

Directions

1. Log in to the COS console.
2. In the left sidebar, click Bucket List to go to the bucket list page.
3. Click the bucket that requires configuring Gzip compression to go to the bucket configuration page.
4. Click Domains and Transfer > Custom CDN Acceleration Domain on the left. If there is no available domain name, add one first. For specific configuration, refer to Enabling Custom CDN Acceleration Domain Name.



5. After the domain name is successfully added, the CDN intelligent compression feature is enabled for it by default, and a Gzip compression rule is created.
The details of the Gzip compression rule are as follows:
Type: File extension
Content: js;html;css;xml;json;shtml;htm
File Size: 256 Byte to 2 MB
Compression Method: Gzip
6. In the Personalized configuration column, CDN intelligent compression allows you to view the configuration status of Gzip compression and the configured compression method.
If "Not configured" is displayed, it means the CDN intelligent compression configuration feature is not enabled.
To reduce the size of transferred files and save costs, it is recommended to enable the CDN intelligent compression feature. You can click the

icon and click CDN Console according to the reminder to quickly jump to the CDN console for configuration. For operation instructions, see Intelligent Compression Configuration.
If "gzip" or another field is displayed, it indicates the currently configured compression method.
To add, modify, or view CDN intelligent compression rules (such as compression method, type, content, and file scope), you can click the

icon and click CDN Console according to the reminder to quickly jump to the CDN console for configuration. For operation instructions, see Intelligent Compression Configuration.
Note
For more information on intelligent compression configuration rules, such as configuration constraints and the priority of rules to take effect, see Intelligent Compression Configuration in the CDN Configuration Guide.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon