{"id":1074,"date":"2021-03-17T11:01:18","date_gmt":"2021-03-17T09:01:18","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=1074"},"modified":"2022-05-19T18:24:05","modified_gmt":"2022-05-19T15:24:05","slug":"what-is-a-cdn","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/what-is-a-cdn\/","title":{"rendered":"What is a CDN?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">There&#8217;s no point in having a website laden with information that users can&#8217;t access. While this may happen due to several factors like poor network or DNS failure, a faulty CDN could also be a problem.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1075 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_24.png\" alt=\"What is a CDN?\" width=\"558\" height=\"283\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_24.png 558w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_24-300x152.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">CDN stands for Content Delivery Network. It <\/span><b>stores static contents<\/b><span style=\"font-weight: 400;\"> (<\/span><i><span style=\"font-weight: 400;\">images, JavaScript, and CSS files<\/span><\/i><span style=\"font-weight: 400;\">) within its network and <\/span><b>delivers them swiftly to users<\/b><span style=\"font-weight: 400;\"> from all over the globe.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">More than 400,000 websites out of 1,000,000 top websites globally store their website content in a CDN.\u00a0 <\/span><b>It <\/b><a href=\"https:\/\/www.scalahosting.com\/blog\/slow-website-loading\/\"><b>reduces website loading speed<\/b><\/a><span style=\"font-weight: 400;\"> and <\/span><b>prevents traffic spike issues<\/b><span style=\"font-weight: 400;\"> by using many proxy servers in different parts of the world.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For instance, when you search for information online, CDNs use your closest server to create the connection.\u00a0 CDNs also <\/span><b>store dynamic website contents<\/b><span style=\"font-weight: 400;\"> and protect against potential site crashes.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now, let\u2019s take an in-depth look at the <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-configure-a-cdn\/\"><b>Content Delivery Network<\/b><\/a><span style=\"font-weight: 400;\"> and why you should store your web content on it.<\/span><\/p>\n<h2><b>How Does a CDN Work?<\/b><span style=\"font-weight: 400;\">\u00a0\u00a0<\/span><\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1076 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_31.png\" alt=\"What is a CDN?, How Does a CDN Work?\u00a0\u00a0\" width=\"580\" height=\"255\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_31.png 580w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_31-300x132.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><i><span style=\"font-weight: 400;\">Image credit: Wikimedia Commons<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">A lot happens when people try to visit your site online. <\/span><b>On one hand<\/b><span style=\"font-weight: 400;\">, the DNS servers try to sync your domain name with a matching IP address to bring up a web page.\u00a0 <\/span><b>On the other hand<\/b><span style=\"font-weight: 400;\">, CDN servers accelerate the delivery of your static content saved on their servers. That way, your web visitors get a smooth user experience.<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">Let\u2019s break it down further.<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">Say you type <\/span><a href=\"https:\/\/www.scalahosting.com\"><span style=\"font-weight: 400;\">www.scalahosting.com<\/span><\/a><span style=\"font-weight: 400;\"> on your browser. The computer sends a request that passes through several servers and routers to reach Scala Hosting&#8217;s server.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now, Scala Hosting\u2019s server is in the US. For example, if you stay in New Zealand, that would mean you\u2019re requesting <\/span><b>to access content<\/b><span style=\"font-weight: 400;\"> from a server in the US.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A CDN server delivers parts of scalahosting.com from various locations closest to you, thereby reducing the distance between you and the <span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;web server&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:636,&quot;5&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;6&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;7&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;8&quot;:{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;9&quot;:0,&quot;12&quot;:0}\">web server<\/span>. The closer your device gets to the server, the faster you get your results.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">CDN servers have two essential components known as the Points Of Presence (POP) and Edge Servers. These servers route web traffic, mitigate attacks and increase loading speed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">They\u2019re at populated locations around the globe <\/span><b>to establish efficient networks<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So if your website has got CDN features, your content will be on multiple CDN servers through a process called <\/span><b>caching<\/b><span style=\"font-weight: 400;\">. Each time a user accesses your site, a CDN server retrieves cached content from your origin server.\u00a0<\/span><\/p>\n<h3><b>What is a CDN Point of Presence (POP)?\u00a0<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The Point of Presence (POP) plays an <\/span><b>essential role<\/b><span style=\"font-weight: 400;\"> in a Content Delivery Network. It refers to the physical data centers positioned at many locations. These data centers enable online users to content nearest to them.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For instance, a London visitor requesting to view content from a US-based server may encounter a slow loading issue. But, using a local UK server (POP) can <\/span><b>hasten the loading speed<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1077 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_43.png\" alt=\"What is a CDN?, What is a CDN Point of Presence (POP)?\u00a0\" width=\"553\" height=\"309\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_43.png 553w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/2021-03-17_10h55_43-300x168.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/span><i><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">Image credit: Sam Churchill via Flickr<\/span><\/i><\/p>\n<p><b>The CDN keeps a cached form<\/b><span style=\"font-weight: 400;\"> of your site contents at various physical locations. These locations are called Points of Presence (POP).\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The whole point of this is <\/span><b>to direct a user\u2019s request to the closest POP<\/b><span style=\"font-weight: 400;\">, such that when they request content from a site, the nearest POP receives it and delivers the content.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Contents here expand beyond web content only. It also includes audio streams, OS updates, games, apps, HD, and 4K videos.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The POP has its caching servers responsible for <\/span><b>providing content in the user area<\/b><span style=\"font-weight: 400;\">. It comprises one or more edge servers positioned at Internet Exchange Points (IXP). Internet Service Providers (ISPs) use these data centers to interlink their networks.<\/span><\/p>\n<h3><b>What are CDN Edge Servers?\u00a0<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Like POPs, Edge servers are also responsible for making content <\/span><b>more accessible to users <\/b><span style=\"font-weight: 400;\">through edge computing.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">CDN edge servers function in <\/span><b>moving data exchange points<\/b><span style=\"font-weight: 400;\"> from a busy central location to the network edge and then nearer to end-users.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The end-point users own devices that let them instantly consume the content.\u00a0<\/span><\/p>\n<p><b>This could be:<\/b><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">mobile phones<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">laptops<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">personal computers<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">other devices<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Unlike the POP-single servers in one area, edge servers are located in scanty new Internet Exchange Points (IXPs).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Edge servers allow <\/span><b>the use of defensive techniques<\/b><span style=\"font-weight: 400;\"> near the end-user. Thus, they provide tight network security.<\/span><\/p>\n<h2><b>Why Do You Need a CDN?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">As mentioned, CDNs offer <\/span><b>blazing fast website speed while lowering latency<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Though it provides a superior user experience for your site visitors, the truth is, if most of your users are in one area, the benefits will be negligible.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">That aside, you\u2019ll need a CDN for various reasons.\u00a0<\/span><\/p>\n<p><b>These reasons may include:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The inability to provide quick internet service<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Providing diverse content types to your audience<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Device detection, and<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Data security\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">CDN curbs situations like these by providing fast loading speed and website stability. Asides from this, there are several other reasons why you should consider a CDN for your website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We\u2019ll talk about them in a few.<\/span><\/p>\n<h3><b>To Improve User Experience<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">If you have a global audience, <\/span><b>a CDN will cache static resources<\/b><span style=\"font-weight: 400;\"> on edge servers nearer to your users.\u00a0 It is perfect for website owners creating images and intensive bandwidth video content.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The page loading speed of your site <\/span><b>will deliver content faster and improve users\u2019 experience<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><b>To Increase Speed and Reduce Latency\u00a0<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">A two-second load time may not be feasible for your website, but five seconds can cost you <\/span><b>38 percent of your customers.\u00a0 <\/b><span style=\"font-weight: 400;\">CDNs reduce website average loading speed by <\/span><b>shortening the distance<\/b><span style=\"font-weight: 400;\"> between the servers and users.\u00a0 Fast websites also <\/span><b>enhance user experience<\/b><span style=\"font-weight: 400;\"> and <\/span><b>Search Engine Optimization<\/b><span style=\"font-weight: 400;\"> (SEO).<\/span><\/p>\n<p><b>For Efficient and Secure Delivery of Content<\/b><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Using the Content Delivery Network (CDN) secures your WordPress site. <\/span><b>It prevents an attack<\/b><span style=\"font-weight: 400;\"> from the Distributed Denial of Service (DDoS). Thus blocks harmful requests from affecting your database.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Also, a few CDNs provide <\/span><b>extra firewall protection<\/b><span style=\"font-weight: 400;\"> and <\/span><b>two-factor authentication<\/b><span style=\"font-weight: 400;\">. Another option to use is its <\/span><b>Bot filtering feature<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><b>For Site Stability During Traffic Spikes\u00a0<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">If you don\u2019t enable CDN features on your website, you might experience a sudden surge in traffic, <\/span><b>making it crash or become inaccessible to users<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your hosting provider and pricing plan may also contribute to this.\u00a0<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">How?<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">Subscribing to a smaller plan <\/span><b>limits your user visits<\/b><span style=\"font-weight: 400;\"> and other features. So, when your website attracts a higher traffic number than your hosting plan, it crashes.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A CDN allows you to reduce this risk by sharing the load to many servers. This guarantees a smooth and stable website.\u00a0<\/span><\/p>\n<h2><b>Rounding Up\u00a0<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Content Delivery Networks (CDN) allow <\/span><b>reliable, stable, and efficient delivery<\/b><span style=\"font-weight: 400;\"> of website content.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We recommend storing your website content in a CDN, especially if you are running a long-term profitable business. This requires you to choose a suitable hosting plan with a reliable hosting provider.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Scala Hosting offers free <\/span><b>CDN services<\/b><span style=\"font-weight: 400;\">, alongside <\/span><b>free SSL<\/b><span style=\"font-weight: 400;\"> and <\/span><b>unlimited bandwidth<\/b><span style=\"font-weight: 400;\"> to cater to all your hosting needs.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s no point in having a website laden with information that users can&#8217;t access. While this may happen due to several factors like poor network or DNS failure, a faulty CDN could also be a problem. CDN stands for Content Delivery Network. It stores static contents (images, JavaScript, and CSS files) within its network and [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_analysis_target_kw":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-1074","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=1074"}],"version-history":[{"count":5,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1074\/revisions"}],"predecessor-version":[{"id":4579,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1074\/revisions\/4579"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=1074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=1074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=1074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}