jsDelivr is the only public CDN with a valid ICP license issued by the Chinese government, and hundreds of locations directly in Mainland China.
https://cdn.jsdelivr.net/gh/user/repo@version/file
https://raw.githubusercontent.com/NidhoggDJoking/CDN/master/img/Egoist.jpg
https://cdn.jsdelivr.net/gh/nidhoggdjoking/CDN@1.0/img/Egoist.jpg
-
使用github链接有明显有的加载延迟
-
而通过jsDelivr引用资源达到秒开无延迟
-
每次文件替换需要重新发布版本
-
cdn 优化的代码文件需压缩从而达到最佳效果
-
已发布对应的标签无法删除,需删除发布信息
-
删除发布后jsDelivr对应版本也会直接删除