nezha icon indicating copy to clipboard operation
nezha copied to clipboard

improve: replace JsDelivr with SUStech and domains convergence

Open zonefile opened this issue 1 year ago • 6 comments

  • JsDelivr has poor performace in China, so this replacement will greatly improve loading speed for users in China.
  • Unify resources loaded from ByteDance public libraries to lf6-cdn-tos.bytecdntp.com to converge DNS and HTTP requests.
  • SUStech mirror has only one server located in China, so overseas users may feels slow when loading. Therefore Zstatic may be another choice since its' both Mainland China and overseas CDN servers, like:

https://s4.zstatic.net/ajax/libs/bootstrap-icons/1.11.2/font/bootstrap-icons.min.css https://s4.zstatic.net/ajax/libs/flag-icons/7.0.0/css/flag-icons.min.css

Screenshot 2024-02-16 161220 Screenshot 2024-02-16 161254

zonefile avatar Feb 16 '24 08:02 zonefile

把sustech换成其他的吧,这种不知道能运营多久

Zstatic不是公司运营,也换成其他的

naiba avatar Feb 18 '24 06:02 naiba

https://github.com/SUSTech-CRA/ccse-mirrors-web/commits/master/site/help/cdnjs.md

https://mirrors.cernet.edu.cn/list/cdnjs

SUStech 运营两年有余,是中国高校唯一维护 CDNJS 镜像的,稳定性是有的,也能一定程度上改善 JsDelivr 加载缓慢的问题

zonefile avatar Feb 18 '24 06:02 zonefile

Try cdn.jsdelivr.net -> fastly.jsdelivr.net ?

zonefile avatar Feb 18 '24 09:02 zonefile

Try cdn.jsdelivr.net -> fastly.jsdelivr.net ?

字节里没有吗

naiba avatar Feb 18 '24 11:02 naiba

https://cdn.onmicrosoft.cn/ 这个我用了很久,感觉还挺稳定的

ysicing avatar Feb 20 '24 09:02 ysicing

cdn.onmicrosoft.cn 这个我用了很久,感觉还挺稳定的

公司维护的CDN可用的前提下不选择个人维护的CDN,面板能力很大不能冒风险

naiba avatar Feb 20 '24 09:02 naiba