Skip to main content
Welcome to the blog of Gregory Hammond.

Home Page

Support The Site

Go To Previous Page

Blog RSS Feed


Data jurisdiction statement(what is this?):
I'm currently living in Canada, my website is hosted by on a vps I pay for by Luna Node (affliate link) (Canadian based company, server is located in Toronto), Cloudflare is protecting this site (which is US based). Email is hosted by Runbox in Norway. I backup everything to Backblaze (US as well). If you don't wish for our conversation to be logged (or backed up to Backblaze) email me asking for my XMPP (I also have OTR).

Why Choose JsDelivr Over Cdnjs

Date published: September 2nd 2018

The world changes so much, so quickly and while one thing may be blocked in one country it's widely used in another. When creating your website you never really know who will visit your website, that's why it's important to do what you can to make your things available around the world.

If you found this article via a search engine then you already know what a cdn is, if you don't know what a cdn is, it allows you have to your files available around the world. JsDelivr and Cdnjs allow you to have a cdn for anything open-source.

So, for example if you wanted Bootstrap framework, you could use their cdn or use JsDelivr and have it more readily available.

Jsdelivr also works in China, China is a country where stuff is heavily censoured so if you don't want users in China to wait a long time for your site to load (or time-out all together) then use JsDelivr. In fact according to the jsdelivr network page, they are the only public CDN with a valid ICP license issued by the Chinese government. This gives your company an edge over others. As of the time of writing make sure not to use Google fonts (or anything else by Google) if you want your site to be acccessible to those in China since China blocks anything Google related.

JsDelivr doesn't just rely on one network, besides China, they rely on 4 different cdn providers to efficently run their service. They have a cool infographic if you visually want to see how it works. If one thing goes down jsdelivr can just keep up, and not have to worry.

You can manually add any project / package from npm, github, or even WordPress.org without having to wait for approval.





If you use npm packages then you how important it is to ensure they are updated, jsdelivr automatically gets the latest version and if a version gets removed jsdelivr will keep the version so your website won't break.


------

Seize the day. This whole site is under UNLICENSE / CC0 for you to create, learn from, make money from, or anything like that.
Privacy Policy