由于大陆全面封杀Google,导致使用Google公共库的网站加载异常.
为了加快网站访问速度,使用插件使其本地化访问,大大加快了加载速度.
因此,我在网上找了插件安装,非常有效!
1 推荐插件:
gooreplacer4chrome:
https://github.com/jiacai2050/gooreplacer4chrome
ReplaceGoogleCDN:
https://github.com/justjavac/ReplaceGoogleCDN
2 如果你是站长,则可以替换网页中的Google库,用国内公共库
css.net公共库
https://css.net/
中科大
https://servers.ustclug.org/2015/09/google-revproxy-add-cache/
3. 2024年还能用静态CDN公共库
字节: https://cdn.bytedance.com/- Zstatic:https://cdn.zstatic.net
- 渺软:https://cdn.onmicrosoft.cn
- 南科大:https://mirrors.sustech.edu.cn/cdnjs
- ioCDN :http://cdn.iocdn.cc/
批量替换代码
find . -type f -exec sed -i 's#cdn.jsdelivr.net#jsd.onmicrosoft.cn#g' {} +
补充字节节点信息:
阿里kulun : https://lf3-cdn-tos.bytecdntp.com/
金山CDN : https://lf6-cdn-tos.bytecdntp.com/
白山云CDN : https://lf9-cdn-tos.bytecdntp.com/
华为云CDN : https://lf26-cdn-tos.bytecdntp.com/

此处评论已关闭