About CDN and caching and CDN practice

CDN : Content Delivery Network / Network Content Ddistribute, that is, content delivery network

CDN solve exactly how fast and reliable data transfer from the source site to the client, by CDN distribution of the data, the user can close the distance from one server to obtain data, rather than the source site, so as to achieve quick access, and can the purpose of reducing the load pressure of the source site.

Cache : after the first user visits the site, some of the site's static resources such as images, etc. will be downloaded to the local or cached in server memory as a cache when the user visits the site a second time, the browser this resource is loaded from the cache or memory taken from the server, thereby improving the access speed of the site, and if using a CDN, when local cache to expire browser, the browser is not a request directly to the source resource sites, but to CDN edge node resource request, the CDN edge node also has cache, if the CDN caches also expire, it issued a request to the source site back to the source by the CDN edge node to get the latest resources.

This article describes two main CDN implementations:
jsDelivr ( https://www.jsdelivr.com )

Example: Https://Cdn.Jsdelivr.Net/gh/mayunkun/cdnatto1.0/2A5ca983bd1745efa7b64e63b9a22c36.Jpg

 

Free CDN

Accelerate Le  https://www.yunaq.com/

Attention to the need for the record of the domain name

 

Published 33 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/kuangni5808/article/details/104019703
cdn