We use a permanent S3 storage to ensure all files remain available even if GitHub goes down or a repository or a release is deleted by its author. Files are fetched directly from GitHub only the first time or when S3 goes down. Load any GitHub release, commit, or branch: /gh/user/repo...
git 窗口输入如上命令之后,文件都上传到了github仓库 5.4 点击release 发布版本 自定义发布版 5.5 通过jsDelivr引用资源 通过如下地址应用资源 https://cdn.jsdelivr.net/gh/你的用户名/你的仓库名@发布的版本号/文件路径 举个栗子,获取source/bgimg路径下的back-rain.png https://cdn.jsdelivr.net/gh/xie...
wget http://your-nexus/github-proxy/jenkins-zh/jenkins-cli/releases/download/v0.0.27/jcli-darwin-386.tar.gz hronro commented Jan 24, 2021 • edited Vote for this. Many projects ships compiled/minified version in the GitHub release assets instead of in the repo, so CDN for release as...
A free, fast, and reliable Open Source CDN for npm, GitHub, Javascript, and ESM. -- from https://www.jsdelivr.com/ 简单来说就是它可以为开放资源(比如 npm/github release等)提供CDN服务。 网络分布:https://www.jsdelivr.com/netw...可以看到在中国也有好几台服务器,国内使用也可以完全不用担心...
使用hexo将博客部署在github pages上面,有时候访问速度会比较慢,可以将图片等静态资源,使用jsdelivr进行cdn加速。目前由于一些非法的滥用,jsdelivr在国内被墙,无法访问了。使用介绍#jsdelivr加速github介绍根路径是 : https://cdn.jsdelivr.netLoad any GitHub release, commit, or branch:...
5.1 新建Github仓库 5.2 使用git clone 命令将仓库克隆到本地 5.3 将需要cdn加速的资源上传到github仓库 5.4 点击release 发布版本 5.5 通过jsDelivr引用资源 6将hexo中用到静态资源的地方换成cdn加速 序言 个人采用hexo搭建了博客,博客也刚上线不久,博客地址:https://www.xiezhrspace.cn。 欢迎小伙伴访问,疯狂暗示...
git 窗口输入如上命令之后,文件都上传到了github仓库 5.4 点击release 发布版本 自定义发布版 5.5 通过jsDelivr引用资源 通过如下地址应用资源 举个栗子,获取source/bgimg路径下的back-rain.png 注意:版本号不是必需的,是为了区分新旧资源,如果不使用版本号,将会直接引用最新资源,除此之外还可以使用某个范围内的版本...
git 窗口输入如上命令之后,文件都上传到了github仓库 5.4 点击release 发布版本 自定义发布版 5.5 通过jsDelivr引用资源 通过如下地址应用资源 https://cdn.jsdelivr.net/gh/你的用户名/你的仓库名@发布的版本号/文件路径 举个栗子,获取source/bgimg路径下的back-rain.png ...
③进入 github 仓库的 Code 页面,点击页面右侧的 Releases: ④ Draft a new release: 新建一个 tag 例如:0.0.3 ⑤点击 Publish release 进行发布 然后即可使用如下规则访问 CDN 资源: https://cdn.jsdelivr.net/gh/<username>/<reponame>@<tag>/<resourcename> ...
1、新建Github仓库 2、克隆Github仓库到本地 点击Clone or download,一键复制仓库地址 在本地目录右键 Git Bash Here,执行以下命令: git git clone 一键复制的仓库地址 3、上传资源 复制需要上传的资源到本地git仓库(注:jsDelivr不支持加载超过20M的资源),在本地git仓库目录下右键 Git Bash Here,执行以下命令...