国内外免费加速CDN推荐(Statically图片/git/wordpress加速) | 您所在的位置:网站首页 › statically › 国内外免费加速CDN推荐(Statically图片/git/wordpress加速) |
jsDelivr我想很多人都知道,开发者们会用它来加速css、Java之类的静态资源,当然也会有部分哥们用它来加速图像服务,但在这里建议适量使用,不要滥用。Statically也是一款为开发者免费提供的CDN加速服务,它与Jsdelivr一样有着深厚的资源支持,同时其支持的内容更加丰富一些。下面介绍一下。
git加速 GitHub : https://cdn.statically.io/gh/:user/:repo/:tag/:file GitLab : https://cdn.statically.io/gl/:user/:repo/:tag/:file Bitbucket : https://cdn.statically.io/bb/:user/:repo/:tag/:file 其中 :user 为用户名, :repo为仓库名, :tag为仓库分支, :file为文件名(含后缀). 示例 : https://cdn.statically.io/gh/gd1214b/test/main/test.txt 图像加速 无修改打开 : https://cdn.statically.io/img/:domain/:image 限制width打开: https://cdn.statically.io/img/:domain/w=:pixel/:image 限制height打开: https://cdn.statically.io/img/:domain/h=:pixel/:image 启动自动WebP: https://cdn.statically.io/img/:domain/f=auto/:image 调整图像质量: https://cdn.statically.io/img/:domain/q=:percentage/:image 其中:domain是域名, :image是图像路径. 示例: https://cdn.statically.io/img/blog.gd1214b.icu/images/avatar.png WordPress加速 核心代码加速: https://cdn.statically.io/wp/c/:version/:file 插件加速: https://cdn.statically.io/wp/p/:plugin/:version/:file 主题加速: https://cdn.statically.io/wp/t/:theme/:version/:file 网页截图 直接截屏: https://cdn.statically.io/screenshot/:url 截长图: https://cdn.statically.io/screenshot/full=true/:url 注:如果需要将选项整合到一起,用逗号隔开即可。
|
CopyRight 2018-2019 实验室设备网 版权所有 |