
Cloudflare not caching solution
Cloudflare is sometimes cached and sometimes not cached
After a month of troubleshooting, the problem of cloudflare not caching was finally solved
First of all, cloudflare does not cache html web pages. By default, it only caches static files, such as css, js files.
So how to make cloudflare cache the specified webpage or cache the content of the article? There are two ways
- The first type is to enable the source server cache control, and then add the cache identifier to the source site ~~~
This is a bit complicated and requires self-configuration and debugging. . . As shown below, enable cloudflare source server cache control
- The second method is relatively simple, and caches the specified webpage or article content directly in cloudflare
This method is very simple and rude. Well, it's fragrant to use! ~~~~ See the picture below
Let's take a look at the previous page request display is not cached
Set mandatory cache for the specified webpage in cloudflare, check the header information of the webpage again to show that it has been cached
💘 相关文章
- Solution to garbled laptop keyboard
- cloudflare支持非443點端口大全
- acme.sh Not valid yet, let's wait 10 seconds and check next one的解决方法
- Win10 application store can not be opened, 0x80131500 error solution
- mysql database connection failed | SQLSTATE[HY000] [2002] Connection refused solution
- how to do config nginx allow's cloudflare ip's
- zblog出现“请点击这里更新到应用中心最新版本,否则您的应用中心可能无法使用。”的方法
- 把域名从阿里云转出到了cloudflare
- Cloudflare 阻止了 1720 万 rps 的 DDoS 攻击——有史以来最大的一次
- Cloudflare推出少年版的公共dns服务器