tencent cloud

All product documents
Cloud Streaming Services
HTTP/2 Configuration
Last updated: 2024-10-30 16:02:45
HTTP/2 Configuration
Last updated: 2024-10-30 16:02:45

Overview

HTTP/2 (HTTP/2.0) is upgraded from HTTP/1.1. Compared with HTTP/1.1, it introduces a range of optimization features, including binary framing, multiplexing, header compression, and server push. These features greatly optimize web performance and reduce data exchange latency. Before enabling HTTP/2 configuration, you need to configure an HTTPS certificate.

Prerequisites

You have logged in to the CSS console.
To enable HTTP/2, ensure that HTTPS is correctly configured and enabled, as HTTP/2 depends on HTTPS. Complete the SSL certificate configuration and enable HTTPS before setting HTTP/2. For details, see HTTPS Configuration.
Note:
If you are configuring an HTTPS certificate for the first time, wait until the certificate configuration is completed and takes effect before enabling HTTP/2.
If you disable the HTTPS certificate feature, the HTTP/2 settings will be automatically disabled and cannot be enabled.
When HTTP/2 is enabled, if the HTTPS certificate feature is disabled, HTTP/2 will be automatically disabled.

Notes

Currently, only HTTP/2 access is supported. HTTP/2 origin-pull is not supported.
If the domain name's service region is global, the HTTP/2 configuration will take effect globally. Separate configurations inside and outside the Chinese mainland are not supported.

Configuration Guide

Enabling or Disabling HTTP/2 Configuration

1. Enter Domain Management, click the playback domain name you want to configure or Manage on the right to enter the domain name detail page.

2. Click Advanced Configuration. In the HTTP/2 Configuration area, click

to enable or disable the HTTP/2 feature.
Note:
Complete the SSL certificate configuration and enable HTTPS before enabling HTTP/2 in the HTTP/2 Configuration area.
The HTTP/2 feature will take effect approximately 15 minutes after configuration.

When you highlight the switch, HTTP/2 is enabled.
When you turn the switch gray, HTTP/2 is disabled and the HTTP/2 configuration is automatically invalidated.

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