What is CDN
How to Use CDN
CDNs can help your users load your website faster by serving your static resources in nodes all around the world.A Content Delivery Network (CDN) works by providing alternative server nodes for users to download resources (usually static content like images and JavaScript). Each CDN node (also called Edge Servers) caches the static content of a site like the images, CSS/JS files and other structural components, When a user requests your site he will get data from nearest CDN node. The main advantage of this concept is shortest distance for the data to travel (reduced latency), therefore providing the fastest site experience.
Why do I need a CDN ?
Using CDN we improve our webiste loading time the main reson behind this is; user always get static resources from nearest CDN Node. Alos CDN useful to reduce latency.
Implementation of CDN
Implementation of CDN is very simple for website which have static resources but complex in case of large website like e-commerce website. CloudFare provide free CDN for small website like blog, company websites. To use cloudfare simply login on cloudfare and put your website URL next copy DSN and paste on your domain provider website for manage Domain Name Server.