CDN consumption is too fast, the solution

Some time ago, I found that the CDN consumption of my website was too fast, and the traffic of 100G for more than 20 yuan was consumed in half a month or even more than ten days.

So I saw that there are not many CDN access ips, and found that most of them consume static resources, js and other files.

Later found a solution, there are still so many 100G

Method: Baidu Cloud CDN + Tencent Cloud CDN + wp blog wpjam plug-in

One is an image cache, the other is a static resource cache, and the two CDNs load a website together.

Image/static resource compression is enabled

In terms of subjective feeling, it is relatively durable.

configuration method

Tencent Cloud

Set up a dedicated acceleration domain name For example, my domain name is suyinwl.top, and the acceleration domain name is cdn.suyinwl.top

The specific configuration method can be seen in the picture

 

This blacklist is the ip address that was DDOSed before, in the United States

 Disable some useless engine spiders

 Cache configuration:

 Https configuration

 Advanced Configuration--Smart Compression

 Plugin to set own domain name

 

 

 Baidu cloud

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_43079386/article/details/128508481