Staticly CDN 加速

直接访问Github上的资源很慢,以此我们可以使用一些免费的CDN进行加速。Staticly CDN就是目前免费的CDN中比较好用的了,它的规则如下:

1
2
3
4
5
6
# 格式 其中 user是用户名 repo是仓库名 version代表版本(tag或者分支 默认为main) flie是文件路径
https://cdn.staticaly.com/gh/user/repo@version/file

#我的github的名字叫baiyddmy,我有一个仓库名叫Hexo_PostImage
#我要加速Hexo_PostImage里面主分支里面的/image/background/Kiki.webp文件
https://cdn.staticaly.com/gh/baiyddmy/Hexo_PostImage@main/image/background/Kiki.webp