jsDelivr hangs again

Original link: https://rawchen.com/1370

In the past two days, I found that GitHub static resource links like https://cdn.jsdelivr.net/gh/rawchen/JsDelivr/static/blog/mail.jpg cannot be accessed. Searching and checking the official statement of Jsdelivr is that the CDN service of Jsdelivr in China has been polluted by DNS again and pointed to the IP addresses of Google, Twitter and Facebook, resulting in being blocked.

Alternative

This pollution only targets the domain name cdn.jsdelivr.net . jsDelivr is supported by many CDN sponsors, each service provider will have its own dedicated subdomain, and access can be restored by replacing the access resources to other second-level domain names. However, these CDNs generally have a moderate speed and the future is not clear. It is recommended to use them only temporarily, and then switch them back after recovery.

CloudFlare: test1.jsdelivr.net
CloudFlare: testingcf.jsdelivr.net
Fastly: fastly.jsdelivr.net
GCORE: gcore.jsdelivr.net

cdn.jsdelivr.net/npm using npm library can also be replaced with Chinese mirror unpkg.zhimg.com

This article is reprinted from: https://rawchen.com/1370
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment