Skip to main content

Secured Website Part 2 – Content Delivery Networks (CDN)


As part of the Secured Website series, in part two, we'll get you introduced to Content Delivery Networks and why they are a great asset for your websites. The information in this article is valuable for both new and seasoned webmasters. If you are an experienced webmaster and know a thing or two about CDN’s, we advise you to keep reading as this article also contains updated information related to preventing a new type of SEO attacks.

For part 1, see Secured Website - Content Security Policy Setup (CSP).

What is a Content Delivery Network (CDN)

CDN or Content Delivery Network is a service that gives webmasters the option to host files outside of their main web server. Think of it as another server that helps your website load faster. In reality, the CDN is comprised of a network of servers, located all around the world.

Say your site is hosted in the USA, when you get visitors from Europe or Asia, your site will obviously not load as fast for them as it would a visitor from the US. By using a CDN, your sites’ files will be served to them from a location a lot closer to theirs, thus making your site load faster and provide a greater user experience.

How does the CDN work

When you upload a file to the CDN, the file is then automatically propagated and stored on CDN servers around the world. A top CDN provider will have servers available in all the worlds continents. Even though your files are now stored in multiple places, they will still be available at the same URL address, provided by the service.

Benefits of using a Content Delivery Network service

There are many benefits in using a CDN service, some very clear and others not as known but equally important. Bellow we will be describing a list of situations when using a CDN has become a must and will help your site stay responsive and provide a great user experience.

Handling traffic surges

Typically you would use a CDN service if your website gets lots of traffic (concurrent) and starts responding slower and slower. Also, even if your site has a small audience, there are situations where you might get featured in the bigger media and start receiving large amounts of visitors at the same time. In these situations most sites (hosted on shared environments) will usually collapse.

Handling distribution of large files (assets)

There are many situations when a webmaster wants to provide its users with access to large files. When multiple visitors access your site and start downloading files, the availability of your website suffers and can even become unavailable.

Improving response time & ranking in search engines

Another use case arrises when your website has a largely international audience. Usually websites are hosted in only one location but get visitors from different locations around the world. Match these conditions with a heavy asset site and cases will arise when the website does not load in the same parameters for all users.

Say your site is hosted in Europe and you get visitors from the US and Asia. The visitors from Europe will benefit from a great user experience, as your site will load very fast. In contrast, users from Asia or the US will be presented with a slower loading site, downgrading the user experience.

All major search engines rank websites based on a myriad of factors. One of these factors is speed or how fast a site loads. A fast loading website provides users with a better user experience than a slow loading site. By offloading your websites assets onto a CDN, it will make it load faster and receive a higher grade from the search engines.

Free CDN providers list

Popular Webmaster Tutorials

WEBSITE TEMPLATE: SLIDING DOORS - Use it as a website template for intros with animation and landing page forms

Greetings fellow webmasters!   Here is a new template for you to use freely on your web development projects. It's called Sliding Doors. This template uses just a little bit of Javascript for its awesome reveal animation effect. Check it out, it's really cool! Check it out here, live preview: Download it on github, here's the link: As always, you can check out all of our free website templates here: Let us know what you think of this new template in the comments bellow. You are welcome to include links to projects you've used this template for.

DAY 1: Become a Webmaster Tutorial - BUILD A WEBSITE IN 10 MINUTES and host it on Github for Free

  Greetings fellow webmasters and soon to become webmasters!   I released my first video in the Become a Webmaster series. With this video I am also updating the Become a Webmaster page with the tutorial for Day 1. Watch the Day 1 video on youtube here:   Read the detailed tutorial on Day 1 here: Day 1 is the most important day in your journey of becoming a webmaster. Here's what I explain in the video and tutorial: How to gather content for your new website How to create a Protonmail account How to create a Github account How to create a repository for your new site How to create the index.html file How to add headings Read the tutorial and then watch the video to follow along.  

How to do research for a website

  Being a Webmaster is a lot of work and research is a big part of it. Like most professions, you need to stay on top of your game. Whether you're building a new website or taking one over, you will need a plan. And a solid plan requires research. If you haven't already, read What is a Webmaster first . Below we have compiled a list of areas of research that you as a Webmaster shoud be very familiar with and actively pursuing. Remember to write down everything you research and the results of your research.   Tools & Service Providers Research Having the right tools for the job is key. Knowing what to use and when will give you the confidence to move forward faster and get things done. As a Webmaster you'll always be asked: where do I register a domain? what's a reliable hosting company? what's your recommendation? Being able to provide knowledgeable advice is your most valuable asset. It's your most valuable asset because it's a source of passive income.