LOFTER for ipad —— 让兴趣,更有趣

点击下载 关闭
FallSoft CDN
LuoXin 2022-12-24

现在国内的Github/Unpkg/WordPress访问状况,是让每个开发者和站长们都难受的情况,这些站点的访问速度并不快,导致很多个人博客/论坛等访问速度十分缓慢。

为此,FallSoft为大家提供了两套CDN服务,它们为加速而生。它们都可以免费提供给草根站长和开发者使用。

主要面向中国大陆的CDN


1.CDN服务仅仅服务于个人开发者和个人站长,如果您的企业想要使用该服务,我们建议您放弃这个念头,因为我们也无法完全保证CDN的SLA。
2.CDN是一个被刷取流量的重灾区域,我们既然拿出了免费的诚意,那么也请大家切勿对CDN进行任何攻击测试。因为我们相信,人人都会是善良的。
3.我们会尽力保证CDN的SLA,但是我们也无法保证100%的正常运行时间,所以当我们无法向提供加速服务之时,请谅解并保持合理的心态,谢谢!
4.在主要为中国大陆提供的CDN中,为避免滥用,我们采用白名单模式,您需要向我们提交申请,同时该CDN严禁上传或缓存违反中国大陆法律的违规文件。
5.在主要为中国境外提供的CDN中,我们使用了Cloudflare的CDN,您需要遵守Github/Unpkg/WordPress/Cloudflare的规定上传文件。
6.我们随时有可能终止服务。

主要面向中国大陆的CDN


首先,您应该向”i@luoxin.love“,该邮箱申请白名单仓库。
要求:
○ 单文件大小小于或等于8MB
○ 单仓库/软件包大小小于或等于200MB
○ 不得上传违反中国大陆法律的内容

我们对该套CDN进行了比较好的优化,我们在中国大陆地区使用了较好的CDN,在中国境外我们使用了Cloudflare和Gcore组合的CDN以保障全球访问速度。

我们使用了开源项目AH-Dark/Anchor对三种服务进行加速。您可以通过以下的方式调用你的仓库/软件包/WP主题:

Github仓库

Proxy From:https://raw.githubusercontent.com

https://cdn.fallsoft.cn/gh/<user>/<repo>/<version>/<path>

NPM软件包

Proxy From:https://unpkg.com

https://cdn.fallsoft.cn/npm/@<user>/<package>@<version>/<path>

### No version
https://cdn.fallsoft.cn/npm/@<user>/<package>/<path>
# equal to
https://cdn.fallsoft.cn/npm/@<user>/<package>@latest/<path>

### Standard package
https://cdn.fallsoft.cn/npm/<package>@<version>/<path>

### No path
https://cdn.fallsoft.cn/npm/<package>@<version>
# will be redirected to
https://cdn.fallsoft.cn/npm/@<user>/<package>@<version>/<path> # main file

WordPress

Theme Proxy From:https://themes.svn.wordpress.org
Plugin Proxy From:https://plugins.svn.wordpress.org

# For themes in wordpress.org
https://cdn.fallsoft.cn/wp/theme/<name>/<version>/<path>

# For plugins in wordpress.org
https://cdn.fallsoft.cn/wp/plugin/<name>/<version>/<path>


主要面向中国境外的CDN


这套CDN是完全公开的,所有人的仓库和软件包都被允许加速,无需申请,其使用Cloudflare路由将文件通过Workers缓存到边缘网络,获得较好的速度。

其用法与境内的相同,但其直接分别Proxy了Github Raw/Unpkg/WordPress。

Github仓库

Proxy From:https://raw.githubusercontent.com

https://cdn.fallsoft.cn/gh/<user>/<repo>/<version>/<path>


NPM软件包

Proxy From:https://unpkg.com

https://cdn.fallsoft.cn/npm/@<user>/<package>@<version>/<path>

### No version
https://cdn.fallsoft.cn/npm/@<user>/<package>/<path>
# equal to
https://cdn.fallsoft.cn/npm/@<user>/<package>@latest/<path>

### Standard package
https://cdn.fallsoft.cn/npm/<package>@<version>/<path>

### No path
https://cdn.fallsoft.cn/npm/<package>@<version>
# will be redirected to
https://cdn.fallsoft.cn/npm/@<user>/<package>@<version>/<path> # main file

 

WordPress

Theme Proxy From: https://themes.svn.wordpress.org
Plugin Proxy From: https://plugins.svn.wordpress.org

# For themes in wordpress.org
https://cdn.fallsoft.cn/wp/theme/<name>/<version>/<path>

# For plugins in wordpress.org
https://cdn.fallsoft.cn/wp/plugin/<name>/<version>/<path>

写在最后


我们不需要很多人来使用该CDN,因为我们也不想被盗刷流量,如果你和我有矛盾,你可以冲我个人来,但是请不要刷取这样一个免费公益的CDN。又或者如果你需要稳定的CDN需求,你可以去看看CDN大厂,最近几年的CDN也都是白菜价。



推荐文章
评论(0)
分享到
转载我的主页