Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to refresh files with cdn acceleration

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

After purchasing the CDN service, users will be more concerned about the actual effect in the process of using it. First of all, make sure that it has been activated successfully, and then follow the basic steps to add accelerated domain names and configure CNAME. After all, you can test whether the CDN acceleration is successful. How does CDN acceleration refresh files?

How does cdn acceleration refresh? The function of cdn refresh file (URL) is to delete directly; to refresh the directory is to set the cache directory of the edge and the center to expire. The next time there is an access request, the edge returns to the center for verification. When the center also expires, the center origin-pull verification. If the center is consistent with the origin, the center node expiration cache is activated. If there is inconsistency, the origin-pull process is repeated for the first time.

After using CDN products, if you encounter content updates on the origin server and publish them to netizens using the old URL. You need to refresh the cache of the CDN node after updating the content of the origin server to ensure that the content of the origin server is consistent with the cached content of CDN.

At present, the general CDN control management background refresh page provides two refresh methods.

URL refresh

It is forced to set some files on the CDN CACHE node to be expired to achieve the purpose of origin-pull updates, which will take effect within 5-10 minutes. A maximum of 2000 URL can be refreshed per day for the same ID.

Directory refresh

It is forced to set the files of a directory on the CDN CACHE node to be expired, so as to achieve the purpose of origin-pull update, which is suitable for scenarios with more content. It usually takes effect within 30 minutes. Submit up to 100 refresh requests a day.

Directory refresh must be done in the directory refresh this tab operation, otherwise after the URL refresh tab is successful, only refresh the single URL, does not include all the files in the directory.

The above is about how to refresh cdn acceleration. Virtual hosts enjoy Baidu's massive CDN node resources for free and high-speed CDN, making website access as smooth as a local area network. Virtual host product link https://www.yisu.com/cloud/

Webhosting/

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report