jsDelivr
About 510 wordsAbout 2 min
CDNjsDelivr
2026-04-29
๐ What is jsDelivr
Note
jsDelivr is a free CDN (Content Delivery Network) for open source files. It is tightly integrated with GitHub and NPM, making it easy to use as a reliable CDN for almost any open source projects.
โจ Features
jsDelivrโs stability may vary by network, but itโs been reliable enough for my use.
- ๐ Free to use
- โก No registration required, simply include a single link to get started
- ๐ Powered by a global CDN network
- ๐ฆ Supports GitHub / npm
๐ GitHub + jsDelivr
Example repository: EmirioBomb/media-collections
1๏ธโฃ CDN link
Root endpoint: https://cdn.jsdelivr.net
Click to see more about CDN URL Structure
https://cdn.jsdelivr.net/gh/user/demo@1.0.0/app.js
| โ โ โ โ โ โ
| โ โ โ โ โ โโโโโ asset
| โ โ โ โ โ
| โ โ โ โ โโโโโโโโโโโ version or branch, like v1.0.0 or main
| โ โ โ โ
| โ โ โ โโโโโโโโโโโโโโโโโ repo
| โ โ โ
| โ โ โโโโโโโโโโโโโโโโโโโโโโโ user
| โ โ
| โ โโโโโโโโโโโโโโโโโโโโโโโโโโโ delivery type (gh: Github, npm: npm, etc.)
| โ
| โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ domain
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ API identifier (cdn: jsDelivr link, purge: purge cache)https://github.com/EmirioBomb/media-collections/blob/main/GearPress/notes/jsdelivr-tool-github.png(@branch)https://cdn.jsdelivr.net/gh/EmirioBomb/media-collections@main/GearPress/notes/jsdelivr-tool-github.png(@version)https://cdn.jsdelivr.net/gh/EmirioBomb/media-collections@1.0.3/GearPress/notes/jsdelivr-tool-github.pngCheck the official jsDelivr GitHub docs for more details
2๏ธโฃ Official Tools
Paste Github link, and it will be easily converted to jsDelivr links

https://github.com/EmirioBomb/media-collections/blob/main/GearPress/notes/jsdelivr-tool-github.pnghttps://cdn.jsdelivr.net/gh/EmirioBomb/media-collections@main/GearPress/notes/jsdelivr-tool-github.png๐ก Why no immediate update
Why doesnโt my GitHub file update show up right away?
๐ฌ Why it happens
Note
- ๐ jsDelivr uses CDN caching instead of real-time GitHub access
- ๐ฆ Same URLs usually serve cached files
- โณ Cache updates are not applied immediately
๐ ๏ธ How to fix it
1๏ธโฃ @version
Important
@version uses GitHub releases/tags (e.g. v1.0.1)
No Releaseโ use @branch, orpurge cacheif needed.Same version after a push?You may still hit cache โ justpurge cacheif needed.
https://cdn.jsdelivr.net/gh/EmirioBomb/media-collections@1.0.13/GearPress/notes/jsdelivr-tool-github.png2๏ธโฃ Purge Cache Tool
Warning
- Use
jsDelivr Link(not the original GitHub Link) when purging cache - Batch supported

3๏ธโฃ Purge Cache Link
info Root endpoint: https://purge.jsdelivr.net
https://cdn.jsdelivr.net/gh/EmirioBomb/media-collections@main/GearPress/notes/jsdelivr-tool-github.png# @branch
https://purge.jsdelivr.net/gh/EmirioBomb/media-collections@main/GearPress/notes/jsdelivr-tool-github.png
# @version
https://purge.jsdelivr.net/gh/EmirioBomb/media-collections@1.0.3/GearPress/notes/jsdelivr-tool-github.pngClick to view the response
{
"id": "5n6hHPRbLiwAaGQP",
"status": "finished", // final result
"timestamp": "2026-04-30T02:03:41.355Z",
"paths": {
"/gh/EmirioBomb/media-collections@1.0.13/GearPress/notes/jsdelivr-tool-github.png": {
"throttled": false,
"providers": {
"CF": true,
"FY": true
}
}
}
}Warning
If the latest content is still not visible after running purge, try clearing your browser cache or reopening the page in incognito/private mode.
Changelog
Copyright
Copyright Ownership:EmirioBomb
License under:Attribution 4.0 International (CC-BY-4.0)