Level Up Coding

Coding tutorials and news. The developer homepage gitconnected.com && skilled.dev && levelup.dev

Follow publication

Member-only story

Content Delivery Network (CDN): Explained in simple words

--

What is a content delivery network
Content Delivery Network — CDN

Introduction

Few years back, I came across a new e-commerce website while browsing the internet. I noticed that the images on the website didn’t load quickly. I refreshed the page and retried a couple of times. Finally, after ten seconds, I was able to see the rendered webpage with images.

Initially, I thought my internet connection was poor but the internet download speed was good enough. I was able to view Youtube videos in HD as well. This sparked my curiosity to know why the e-commerce website wasn’t able to load images quickly.

The curious engineer inside me decided to research the reason for the website’s slow performance. I quickly opened google’s developer tools and navigated to the Networking tab for analysis. After going through a couple of Stack Overflow posts, the conclusion was that the site didn’t use Content Delivery Network (CDN).

In this article, we will understand what a CDN is, why it is needed and it’s working. Also, we will see how websites can accelerate their content delivery by harnessing a CDN.

Background

The poor performance of the website didn’t create a good first impression on me. And due to it’s slow performance, I decided that I won’t shop on the website again.

--

--

Written by Animesh Gaitonde

SDE-3/Tech Lead @ Amazon| ex-Airbnb | ex-Microsoft. Writes about Distributed Systems, Programming Languages & Tech Interviews

Responses (3)

Write a response