Skip to content

CDN #1

@antfu

Description

@antfu

I create this repo for hosting files for CDNs. I am planning to use different branches for different projects.

jsDelivr has an awesome feature that direct host files from Github repos, and surprisingly it's kinda fast in China.

So I moved files that originally hosted by Netlify to this repo by a Github Action:

https://wy-lang.org/dist/core.js (somehow it's very slow in China)

now becomes:

https://cdn.jsdelivr.net/gh/wenyan-lang/cdn@wenyan-core/core.min.js (and with the .min.js suffix, jsDelivr will automatically minimize for you)

I also changed the CDN for IDE in wenyan-lang/ide@3f03542

So far it's just a quick experiment and I think it works well. In the future, you may consider moving fonts for wenyan-book by these steps to get better loading speed for users in China. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions