Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host webtorrent.min.js on a cdn #219

Closed
feross opened this issue Dec 27, 2014 · 10 comments
Closed

host webtorrent.min.js on a cdn #219

feross opened this issue Dec 27, 2014 · 10 comments
Labels

Comments

@feross
Copy link
Member

@feross feross commented Dec 27, 2014

No description provided.

@feross feross added the enhancement label Dec 27, 2014
@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Dec 27, 2014

Requested in IRC by @jakefb

@glasspelican

This comment has been minimized.

Copy link

@glasspelican glasspelican commented Dec 27, 2014

There appear to be 2 main options
jsDelivr
cdnjs

i could find no way to submit to the google js hosting

@jakefb

This comment has been minimized.

Copy link
Contributor

@jakefb jakefb commented Dec 27, 2014

I have used cdnjs for a project before, it worked fine. I guess you should choose whichever one is faster and more reliable.

@szimek

This comment has been minimized.

Copy link

@szimek szimek commented Dec 28, 2014

Not sure if it's still the case, but cdnjs is/was banned in China. I had this issue with my own project. On the other hand cdnjs automatically updates libraries via npm, which is really handy.

@jimaek

This comment has been minimized.

Copy link

@jimaek jimaek commented Dec 28, 2014

jsDelivr is not banned in China (we are also working on an ICP license to use Chinese CDN providers in our load balancing), plus we also support npm/bower/github auto-updates. And we have combination features and lots more http://cdn.jsdelivr.net/g/underscorejs@1.5.2,restangular@1.2.2

More info https://hacks.mozilla.org/2014/03/jsdelivr-the-advanced-open-source-public-cdn/

Let me know if you have any other questions.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Dec 30, 2014

I sent PRs to both jsDelivr and cdnjs.

Also, when the WebTorrent site is ready, I'll also stick it on the site's CDN which is MaxCDN.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Dec 31, 2014

This is done :) Go ahead and grab a fresh and speedy copy of WebTorrent from your favorite CDN provider!

jsDelivr (latest): https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js
jsDelivr (0.x releases): https://cdn.jsdelivr.net/webtorrent/0/webtorrent.min.js
jsDelivr (current release): https://cdn.jsdelivr.net/webtorrent/0.19.1/webtorrent.min.js

cdnjs (current release): https://cdnjs.cloudflare.com/ajax/libs/webtorrent/0.19.1/webtorrent.min.js
(cdnjs doesn't support specifying a version with semver.)

@feross feross closed this Dec 31, 2014
@jimaek

This comment has been minimized.

Copy link

@jimaek jimaek commented May 8, 2017

I wanted to let you know that the new backend is live. It pulls files directly from npm and github https://github.com/jsdelivr/jsdelivr#usage

Example https://cdn.jsdelivr.net/npm/jquery@3.1.1
Example directory listing https://cdn.jsdelivr.net/npm/jquery@3.1.1/

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented May 8, 2017

@jimaek Great news! That's a great improvement.

Is there a blog post about the new features? Any deprecations?

Thank you for letting us know!

@jimaek

This comment has been minimized.

Copy link

@jimaek jimaek commented May 9, 2017

I am working on it. The only deprecation is the old style of adding files using pull requests. You cant do that anymore, but of course all old files are still accessible. Nothing will break for anyone.

@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.