tencent cloud

Content Delivery Network

Updates and Announcements
Release Notes
Announcements
User Tutorial
Product Introduction
Product Overview
Strengths
Use Cases
Term
Use Limits
CDN Performance Descriptions (Spot-check)
Purchase Guide
CDN Purchase Guide
ECDN Purchase Guide
Getting Started
Configuring CDN from Scratch
Adding Domain Names
CNAME Configuration
Domain Name Ownership Verification
FAQs about Domain Name Connection
Configuration Guide
Domain Management
Domain Name Configurations
Statistical Analysis
Purge and Prefetch
Log Management
EdgeOne
Service Query
Offline Cache
Permission Management
Permission Configuration
Console Permissions
Activate Real-time Logging as Sub-account/Collaborator
Use Cases
Accelerating Resources on COS with CDN
Practical Tutorial
Guide to Using the EdgeOne Tool for Migrating Content Delivery Network (CDN) Related Services
CDN - CVM
CDN - COS
Configuring CNAME via DNSPod
Regularly Storing CDN Logs
API Documentation
History
Introduction
API Category
Content Management APIs
Real-time Log APIs
Service Query APIs
Data Query APIs
Making API Requests
Log Query APIs
StopCdnDomain
Configuration Management APIs
Obsoleted APIs
Other APIs
Data Types
Error Codes
FAQ
Features
Billing
FAQs about Domain Name Connection
Cache Configuration FAQs
Purge and Prefetch
Statistical Analysis
FAQs about HTTPS
Connection
Errors
Troubleshooting Methods
Status Codes and Solutions
Node Cache Inconsistency
Slow Access Speed After CDN Activation
Low Traffic Hit Rate
404 Status Code
Page Display - CORS error
Resource Cache Failure
Service Level Agreement
Glossary

Configuration Overview

PDF
Focus Mode
Font Size
Last updated: 2024-12-30 21:28:47

Configuration Overview

CDN supports various custom configurations and you can adjust them based on your business needs.

Basic configurations

Basic configurations are the contents required for CDN acceleration, including origin server configurations and the basic acceleration service information such as acceleration region and service type, etc.
Configuration
Description
Modifies basic information such as the project, acceleration region, and service type, etc.
Configures multi-IP round-robin origin-pull, domain name-based origin-pull, weighted round-robin origin-pull, origin domains, and origin-pull protocols.
Supports configuring hot backup origin servers.
For global acceleration domain names, the acceleration in and outside the Chinese mainland can be configured separately.

Access control

You can configure various rules based on user requests to allow or block access requests.
Configuration
Description
Supports setting referer allowlists and blocklists to determine whether to allow or deny HTTP access requests based on the request referer headers.
For global acceleration domain names, the acceleration in and outside the Chinese mainland can be configured separately.
Supports setting IP allowlists and blocklists to determine whether to allow or deny HTTP access requests based on the request client IPs.
For global acceleration domain names, the acceleration in and outside the Chinese mainland can be configured separately.
Limits the frequency that an IP can access a single node to deny the access requests from client IPs exceeding the limit.
Supports various timestamp signature algorithms and rules for anti-hotlinking configuration.
For global acceleration domain names, the acceleration in and outside the Chinese mainland can be configured separately.
It is designed for streaming VOD acceleration.
With the video dragging feature enabled, you can specify the start point of a video through the parameter start.
Determines whether to deny or allow requests according to HTTP request header User-Agent.
Controls the CDN access bandwidth by setting the downstream speed limit on a URL.

Cache configuration

Cache configuration controls cache on CDN nodes.
Configuration
Description
For resource cache, it supports configuring whether to ignore parameters after "?" in an access URL.
We recommend disabling this feature if the parameters after "?" indicate differen contents of your business.
Supports configuring the cache validity of files on nodes based on file path and type.
Supports configuring status code cache validity for CDN nodes to respond to 2XX status codes directly, thus reducing pressure on the origin server.
It can be disabled as needed. CDN nodes cache all origin server response headers by default.
CDN node cache does not ignore letter case by default. Letter case can be ignored as needed.
Supports customizing URL rewrite configuration to redirect requests from URLs with 302 status code to target URLs.

Origin-pull configuration

Origin-pull configuration controls the process of forwarding requests from CDN nodes to origin servers.
Configuration
Description
Range GETs is used for origin-pull by default. If it is not supported by your origin server, you can disable it.
Adds specified headers during origin-pull such as the real client IP.
It can be enabled for origin-pull as needed.
Configures the TCP connection timeout period (which defaults to 5 seconds) and loading period (which defaults to 10 seconds) of origin-pull.

HTTPS acceleration configuration

HTTPS acceleration supports various HTTPS-related configurations.
Configuration
Description
Supports uploading a self-owned certificate or a hosted certificate to enable HTTPS acceleration.
With it is enabled, CDN edge servers can support HTTP2.0.
Please first configure a certificate to enable HTTP2.0.
Forced redirection from HTTPS to HTTP access can be achieved with or without a certificate.
Forced redirection from HTTP to HTTPS access requires a certificate.
With it is enabled, OCSP stapling is support.
Please first configure a certificate to enable OCSP stapling.
If it is enabled, the header strict-transport-security will be added.
Please first configure a certificate to enable HSTS configuration.

Advanced configuration

Configuration
Description
Supports configuring bandwidth cap for the acceleration in and outside the Chinese mainland. Acceleration service can be stopped as needed if the cap is exceeded.
For global acceleration domain names, the acceleration in and outside the Chinese mainland can be configured separately.
Supports automatically recognizing that whether an access IP belongs to a search engine.
If yes, requests from the IP will be forwarded to the origin server to guarantee the stability of the search engine's weight.
Sets HTTP response headers as needed and adds them to the response requests to clients.
Performs Gzip or Brotli compression on specified files based on the file type and range.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback