A free CDN for Open Source
The advantages of CDN can be used in package distribution, and there are already precedents for using it, such as npm, debian, alpine...
This project aims to improve the plight of some developers due to network problems with the help of CDNs
Domain combination rule:
Software | CDN provider | Main domain |
---|---|---|
ubuntu. | fastly. | mirr.one |
ubuntu. | gcdn. | mirr.one |
DNS record:
*.mirr.one. 1 IN CNAME workers.dev. // Cloudflare’s free SSL cert covered main domain and any 2nd level subdomain
*.gcdn.mirr.one. 1 IN CNAME cl-bec3d0f7.gcdn.co.
*.fastly.mirr.one. 1 IN CNAME nonssl.global.fastly.net. // Developer account does not support add SSL certificates
E.g. npm registry:
# set
npm config set registry https://npm.fastly.mirr.one
yarn config set registry https://npm.fastly.mirr.one
# unset
npm config set registry https://registry.npmjs.org
yarn config set registry https://registry.npmjs.org
fastly CDN |
---|
MPL-2.0