The full form of CDN is Content Delivery Network
What is the benefits of CDN ?
CDN provides fast loading of the website through globally distributed servers which work together to deliver fast loading of the website
CDN does not host files like web hosting. it is just working on the cache to provide fast delivery of the website
to use React js directly in HTML we use CDN of React js script similarly to use Cloudflare CSS(Cascading Style Sheets) for HTML CSS we also use CSS CDN of Cloudflare without writing in same HTML files to delivery fast loading of CSS or script to make website
in modern days mostly website prefer CDN to deliver fast loading of the website.
CDN is used By major internet companies like Facebook Amazon Google other popular news websites that deliver fast-loading websites
There are many internet companies provide CDN to deliver fast loading of website
popular CDN providers are Amazon AWS, Cloudflare
Popular CDN-based tags that we use directly in HTML are
CSS CDN of Cloudflare:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
React js CDN to use directly in HTML
<script src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/[email protected]/babel.min.js"></script>