DEV Community

Cover image for What is a CDN

What is a CDN

Raghav Mrituanjaya
Web dev | backend | nothing much
Updated on ・2 min read

Hi guys we will be covering some of the key points of a CDN

What is a CDN?

A CDN or content-delivery-network refers to a geographically distributed group of servers which work together to provide fast delivery of Internet content.

A CDN allows for the quick transfer of assets needed for loading Internet content including HTML pages, javascript files, stylesheets, images, and videos. The popularity of CDN services continues to grow, and today the majority of web traffic is served through CDNs, including traffic from major sites like Facebook, Netflix, and Amazon.

Why should you use a CDN?

Basically a CDN faster your site by 10%(depends on the CDN network)

  1. Improving website load times - By distributing content closer to website visitors by using a nearby CDN server (among other optimizations), visitors experience faster page loading times. As visitors are more inclined to click away from a slow-loading site, a CDN can reduce bounce rates and increase the amount of time that people spend on the site. In other words, a faster a website means more visitors will stay and stick around longer.
  2. Reducing bandwidth costs - Bandwidth consumption costs for website hosting is a primary expense for websites. Through caching and other optimizations, CDNs are able to reduce the amount of data an origin server must provide, thus reducing hosting costs for website owners.
  3. Increasing content availability and redundancy - Large amounts of traffic or hardware failures can interrupt normal website function. Thanks to their distributed nature, a CDN can handle more traffic and withstand hardware failure better than many origin servers.
  4. Improving website security - A CDN may improve security by providing DDoS mitigation, improvements to security certificates, and other optimizations. Note: only some CDNs prove this function

What are the cheap and best CDNs

  1. Cloudflare is one of the free and best CDN
  2. keycdn(click on this link to get a free 10$ credit)
  3. BunnyCDN is not free but one of the cheapest CDNs on the earth their plans are starting at 0.010/GB

Discussion (0)