Add picture to blog using JsDelivr CDN

JSDelivr is a free open-source public CDN.

What is a CDN?

A content delivery network, or content distribution network (CDN), is a geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and performance by distributing the service spatially relative to end users. —From Wikipedia

Pull

Create a new Github repository.

1
2
3
git init # initialize
git remote add origin #your repository address
git pull origin master #pull the Github repository to local

Push

1
2
3
git add .   # add all files
git commit -m 'file descriptions'
git push origin master #push local repository to Github

Then go to Github and draft a new release.

1
https://cdn.jsdelivr.net/gh/user_name/repository_name@version_number/file_path

Add picture to blog using JsDelivr CDN
http://alexhcgu.github.io/2021/01/03/jscdn/
Author
Alex Gu
Posted on
January 3, 2021
Licensed under