(Optional) Recommended Configurations
After adding an acceleration domain name, configure cache rules, smart compression, and secure acceleration to improve the cache hit ratio, optimize the acceleration effect, and enhance security.
Improving Cache Hit Ratio and Optimizing the Acceleration Effect
Scenario |
Configuration Item |
Description |
---|---|---|
The cache hit ratio is low and the acceleration effect is not obvious. |
Set a proper cache TTL and priority for different resources to improve the cache hit ratio, reduce the origin pull ratio, and relieve the pressure on the origin server. Notes:
|
|
Compress static content on your websites to reduce the file size, speed up file transfer, and save bandwidth.
|
||
Ignore URL parameters to improve the cache hit ratio and speed up content distribution.
|
Improving Access Performance
Scenario |
Configuration Item |
Description |
---|---|---|
Improving origin pull efficiency and reducing pull consumption |
Configure range requests to accelerate distribution of large files during origin pull and reduce bandwidth consumption.
|
|
Redirection enabled for origin server resources |
If 301 or 302 redirection is configured for the origin server address, the origin server returns status code 301 or 302 to CDN for a pull request. If this function is enabled on CDN, CDN PoPs will redirect to the address specified in the 301 or 302 response to obtain the resource, cache the resource, and return the resource to the user. |
Improving Website Security
Scenario |
Configuration Item |
Description |
---|---|---|
Improving security performance |
Configure an SSL certificate to improve the domain name security. |
|
Identify and filter visitors to restrict their access and improve CDN resource security. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.