普通视图

发现新文章,点击刷新页面。
昨天以前首页
  • ✇新锐博客
  • 利用 jsdelivr cdn 给Github图床加速莫忘
    前言 很多站长因为节省服务器的空间,所以使用了Pic和Github来存储图片,但是访问速度堪忧,今天就教大家如何给图床加速。 教程 找到Github的图片原地址,例如:https://github.com/weilain/cdn-photo/blob/main/banner/bannar.jpg 按照规则替换图片地址:https://cdn.jsdelivr.net/gh/{user}/{repo}/图片路径 替换后链接为:https://cdn.jsdelivr.net/gh/weilain/cdn-photo/banner/bannar.jpg 结语 尝试了一下  访问速度还是很快的,比github快多了
     

利用 jsdelivr cdn 给Github图床加速

作者 莫忘
2024年3月17日 21:04

前言

很多站长因为节省服务器的空间,所以使用了Pic和Github来存储图片,但是访问速度堪忧,今天就教大家如何给图床加速。

教程

  1. 找到Github的图片原地址,例如:https://github.com/weilain/cdn-photo/blob/main/banner/bannar.jpg
  2. 按照规则替换图片地址:https://cdn.jsdelivr.net/gh/{user}/{repo}/图片路径
  3. 替换后链接为:https://cdn.jsdelivr.net/gh/weilain/cdn-photo/banner/bannar.jpg

结语

尝试了一下  访问速度还是很快的,比github快多了

❌
❌