Using CDNs

Salet is dependent on two libraries: jQuery and Marked. These are very popular libraries, and many CDNs provide their copies.

CDN means a Content Delivery Network. Any file on a CDN doesn't need to go around the globe as far as a file hosted on a single server. That means it will load much faster, especially in foreign countries.

Salet is an NPM module, so it's available on some CDNs too.

You can see the contents of the latest version here: https://cdn.jsdelivr.net/npm/salet/

And use a link like this in your games: https://cdn.jsdelivr.net/npm/salet@1.8.0/lib/index.min.js

  • en/guide/using-cdn.txt
  • Last modified: 2021/01/24 10:42
  • by