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

Scenario

PDF
Focus Mode
Font Size
Last updated: 2024-12-30 21:54:20
If your website is deployed on your on-premise server, during the peak service hours, users are likely to experience slow image loading or loading problems due to server performance limits. To solve this problem, you can store static files on Tencent Cloud COS, and then connect your website to Tencent Cloud CDN to accelerate distribution of files stored on COS.
See below for the sample configuration on CDN and COS:
CDN configurations
Domain: www.qcdntest.cn
Target: Users in Chinese mainland
Origin domain: The domain name assigned by the COS bucket
Cache TTL: 2 days for JPG/PNG files; 7 days for GIF files and the directory; no cache for PHP files
Daily bandwidth cap: 5 Gbps
Bandwidth cap estimation: Suppose that the average number of daily visitors is 1,000, with the max concurrency of 40 visitors. The bandwidth requirement of each visitor is 50 Mbps, which means the bandwidth peak is around 50 Mbps * 40 = 2,000 Mbps. Counting in the bandwidth requirements for busty traffic, we recommend setting the bandwidth cap to 5,000 Mbps.
COS configurations
Bucket region: Guangzhou
Bucket name: pic
Access permission: Private read and write
Resource type: Image files, with an average file size of 500 KB.

Help and Support

Was this page helpful?

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

Feedback