Best Free and Premium CDN (Content Delivery Network) Services for WordPress

WordPress Deals

Everyone loves a fast website, especially Google.

For the most part, Google’s algorithms are shrouded in secrecy, yet the search engine giant consistently emphasizes that page speed is a ranking factor.

That means that a quick-loading website is a fast track to better rankings, more visitors, and improved user experience (UX). Although we’re often only talking about fractions of a second in difference here, improving load times can have a huge impact on your bottom line.

But how do you improve website performance? Well, installing a Content Delivery Network (CDN) is a great place to start (as is ensuring you’re using a high-performance managed WordPress hosting service if you aren’t already).

You might not realize it, but the geographical distance between you and a web server can play a large part in determining how long it takes for you (and your visitors) to connect to your site — the bigger the distance, the longer the wait (especially for websites that are particularly resource intensive — i.e. websites that use a lot of large media files, such as images, etc).

If you’re storing all of your files that go together to make up your website on just one server; visitors accessing your website from the other side of the world could potentially end up spending a significant amount of time waiting for these files to load.

A CDN gets around this problem by storing your website on servers in multiple locations. When someone tries to access your website, they’ll be connected to the server that’s geographically closest to them*. This can substantially improve load times — resulting in happier visitors and higher rankings.

If you want to speed up your website by installing a CDN, you’re in luck. Today, we take a look at eight of the best CDNs available for WordPress users. We’ll be looking at both free and premium services, so there’s something here for all budgets.

Integrating a Content Delivery Network in WordPress

WordPress needs to know which content delivery network will be hosting your content.

You can do this using a WordPress caching plugin such as W3 Total Cache,
WP Super Cache, or WP Rocket.

By using these WordPress plugins you can define what you want WordPress to offload to your content delivery network. For example, you can choose to store images, CSS, Javascript, and more. You can also state which WordPress folders you want to be stored by your CDN and which you do not.

Content delivery networks will provide you with URLs and other important connection information that you need to enter in your WordPress CDN plugin.

This may include information such as:

  • CDN CNAME – A domain alias for your CDN
  • Pull Zone – The URL which is used to pull static files from your website and store it on the CDN
  • Push Zone – Typically used to store larger files

Do not be concerned if you are not familiar with these terms as your content delivery network provider can help you integrate their service directly.

You will also find detailed CDN integration guides online from content delivery networks and from the developers of WordPress caching plugins.

CDN Enabler Settings

Many content delivery networks release dedicated WordPress plugins to help customers use their service. BunnyCDN, for example, has a WordPress plugin that simplifies the process of implementing their service. All you need to do is enter your pull zone name, CDN domain name, website URL, excluded files, and included directories.

Whilst BunnyCDN’s WordPress plugin was designed specifically for their service, KeyCDN released a WordPress plugin called CDN Enabler that works with any content delivery network.

StackPath CDN Edge

Launched in 2015 by the founder of the hosting company SoftLayer, StackPath have quickly established themselves in the CDN space. Their acquisition of MaxCDN in 2016 helped them get a foot into the WordPress market.

StackPath

The StackPath global network uses high capacity SSDs and supports 65Tbps of total throughput across 45 locations across the world. By using their StackPath CDN, you can reduce the delivery time to website visitors from over 200 milliseconds to just 20.

StackPath CDN Network

StackPath lets you remove content from all of their network at the click of a button. This is useful when you have made major changes to your website.

Their EdgeRules system can be used to customise how you use their content delivery network. There are rules available for 301 redirects, adding and removing headers, cache management, and URL signing.

SSL certificates are provided by StackPath free of charge. Their service also offers detailed traffic analytics, segmented downloads, and GZIP compression. Network Layer DDoS Protection is also provided by StackPath CDN.

StackPath Edge Rules

StackPath’s CDN package starts at only $10 per month and the first month is free to let you test their service. This plan offers 1TB of bandwidth per month; which is an effective rate of $0.01/GB if you use your allocation. This data can be used on an unlimited number of websites.

Additional bandwidth retails at $0.04/GB up to 100TB and then $0.03/GB up to 1PB. This is a flat rate and does not depend on the location of website visitors.

StackPath CDN is a great option for WordPress website owners. Their pricing is highly competitive, they give you a one month trial before you need to pay, and they provide a host of customisation options so you can dictate how you use their CDN.

Cloudflare

Cloudflare is a massive internet company that offers a host of performance and security features to website owners.

cloudflare

The company’s freemium business model means that core features such as DDoS attack mitigation, shared SSL certificates, and their global content delivery network, are free to use. Many of their premium features and services are marketed towards larger internet companies rather than small website owners.

Cloudflare’s global network features 193 data centres across the world. You can check the status of each data centre at any time using the website CloudflareStatus.com.

Cloudflare Global Network

Whilst I have used several content delivery networks over the years, Cloudflare is the CDN that I keep coming back to. There are a few reasons for this:

  • Long-Term Customer – Their DNS management service has protected my website for years
  • Huge Global Network – They have one of the largest network of data centres in the world
  • It’s Free – Their content delivery network is free to use

The Cloudflare WordPress plugin can be used to manage your website’s caching settings, but I prefer to manage everything on the official website.

There is an option to purge cache for specific URLs and hostnames or to clear all your cache and purge everything. You can also determine the caching level, the browser cache expiration time, and whether JavaScript, CSS, and HTML, are minified.

Cloudflare also offer a service called Argo Smart Routing. Retailing at $5 per month + $0.10 per GB after your first gigabyte, Argo Smart Routing can signifnicantly improve page loading times by rerouting traffic via another route when the network is congested.

Cloudflare Caching Settings

One reason I like using Cloudflare’s CDN is that if you are already running your domains through their DNS service, you can enable and disable caching at the click of a button. I am, however, aware of the limitations of using Cloudflare’s content delivery network.

Alternative CDN services generally offer more customisation options and since Cloudflare CDN is free to use, website owners should not expect support when they run into any problems. You should also be aware that in the event of your website going offline, Cloudflare’s “Always Online” feature only caches a small number of website pages.

Cloudflare Web Traffic

Cloudflare does not offer the same number of options, or level of customer service, that premium alternatives offer; however if you are looking for a free content delivery network, Cloudflare should be top of your list as their global network is incredible.

If Cloudflare does not meet your requirements for a content delivery network, I would still recommend trying their service out as their security features are excellent.

Amazon CloudFront

Amazon CloudFront is a content delivery network that can be used to deliver website data, videos, applications, and more. The service is used to deliver video content to Amazon Prime Video customers and is used by large companies such as Canon, Dow Jones, and Bandai Namco.

Amazon CloudFront

Their network emcompasses 188 Points of Presence across 31 countries around the globe. Network traffic is protected by Amazon’s AWS Shield managed DDoS protection service free of charge.

As you would expect, CloudFront integrates with other Amazon Web Services (AWS) such as Amazon S3, Amazon EC2, Elastic Load Balancing, and Amazon Route 53.

Amazon CloudFront Network

The infrastructure that Amazon Web Services uses is incredible. It is one of the fastest and most secure platforms available to website owners and developers will love the number of advanced settings and customisation options available to them

Unfortunately, like all AWS services, CloudFront is not user-friendly. Even experienced website owners may feel a little overwhelmed with the vast number of options on offer.

My advice is to follow the Amazon guide entitled “How to accelerate your WordPress site with Amazon CloudFront“.

Following this guide, you will learn how to create a distribution for your website, define default cache behaviour settings, setup cookies, configure SSL settings, and more. You will find the “Getting Started with CloudFront” guide useful too.

Amazon CloudFront Cache Settings

Amazon’s generous free tier gives new AWS customers 50GB of data transfers and 2,000,000 HTTP and HTTPS Requests each month free of charge. Those of you with small websites may be able to use their CDN free of charge if you stay under these free tier limits.

If you go over this limit, you will be charged by their on-demand pricing policy. The average cost is around $0.10/GB for the first 10TB, $0.08/GB for the next 40GB, and $0.06/GB for the next 100GB. Prices do vary by location. For example, for the first 10TB the cost is $0.085/GB in North America and Europe, but $0.140/GB in Singapore, Hong Kong, and South Korea.

I believe that most WordPress website owners will gravitate towards a more user-friendly solution that is easier to setup and manage, however those that spend some time setting up Amazon CloudFront can take advantage of one of the fastest and most secure content delivery networks online.

KeyCDN

KeyCDN is a popular content delivery network that has 34 data centres around the world. Each server in their network has an uplink of at least 40 Gbps.

keycdn

Their service features DDoS protection, support for HTTP/2, zone aliases, Brotli & GZip compression, access rules, and more. All content can be purged at the click of a button. If you prefer, you can clear the cache for specific URLs.

KeyCDN Network

A new zone can be deployed easily by simply naming your zone, selecting whether it is push or pull zone, and confirming the origin URL (i.e. your WordPress website).

The whole process is straight-forward, however you can load up around a dozen more options by clicking on the “Advanced Features” link. Doing so allows you to configure additional settings such as the expiry date of content, whether you enforce SSL, and whether bad bots are blocked.

The account area provides many detailed reports to help you understand your traffic. There are also options to setup a custom domain for your CDN, protect your images from hotlinking, and create sub-users for uploading files to your push zone.

Edit Zone in KeyCDN

KeyCDN offer a 14 day free trial to test their service. No credit card is necessary to sign up.

After the trial period has ended, bandwidth will be charged on a pay as you go basis. For the first 10TB of data used every month, KeyCDN charges $0.04/GB for North America and Europe, $0.10/GB for Asia and Oceania, and $0.14/GB for South Africa and South America. A minimum charge of $4 per month is applicable and the minimum payment that is charged to your account is $29.

Other potential costs include $0.29/GB for the first 500GB of push storage, $3 per day for log forwarding, and $1 per 2,000 operations of image processing.

Be sure to check out the KeyCDN Cost Calculator to get an estimate of what your total monthly cost would be.

KeyCDN Cache Status

I have used KeyCDN a few times in the past and was always happy with performance and the quality of support I received. The company has managed to strike the right balance of remaining user-friendly, but still offering advanced options for those that need it.

If you decide to use a different CDN provider, I would still recommend trying out their CDN Enabler and Cache Enabler WordPress plugins. They’re free to download and can be used to integrate any CDN.

Jetpack Site Accelerator

If you download the popular WordPress plugin Jetpack, you can take advantage of Jetpack’s free content delivery network. This allows you to offload content to fast WordPress.com distributed data centers around the world.

jetpack

Jetpack’s CDN is called “Site Accelerator” (formerly called Photon). It can be used to host images and static files such as CSS and Javascript

Images are automatically resized for mobile images to improve page loading times. Lazy loading can delay the loading of images and improve page loading times further.

Jetpack Performance Settings

Jetpack Site Accelerator is an effective way of reducing page loading times by offloading images, CSS, and Javascript. It is free to use and all you have to do is click one button to enable it. Additionally, you can utilise Jetpack Site Accelerator in conjunction with other content delivery networks.

If you are looking for an alternative image optimisation and content delivery network with more options, check out Cloudinary. Their WordPress Plugin can be used to perform many different modifications on images and the company offers 25GB of bandwidth free of charge.

CDN77

CDN77 is a premium content delivery network that has a global network of 35 data centres across the world. Their network can handle 14 Tbps+ of traffic.

cdn77

The company offers the latest HTTP/2 features and improvements, TLS 1.3, Gzip and Brotli compression, SSL and TLS certificates, DDoS protection, hotlink protection, IP whitelisting and blacklisting, and more.

CDN77 focuses on delivering static files, however the company also have a video content delivery network called Streamflow for those that need video hosting.

CDN77 Network

CDN77 has a pleasant customer control panel that is easy to navigate.

There are options to prefetch all your files and cache them to the network, clear your cache with one click, and customise what files are cached. Detailed analytics show traffic, access logs, performance, and more.

CDN77 do not have a dedicated WordPress plugin of their own, however they have published tutorials that show you how to use their CDN using WP Fastest Cache, W3 Total Cache, and WP Super Cache.

CDN77 Access Protection

CDN77 has a similar pay as you go pricing structure as KeyCDN and also offer a 14 day free trial of their service. All customers are allowed to use 50GB of storage free of charge.

Their bandwidth rates start at $0.049/GB for the first 20TB in North America and Europe, $0.125/GB in Asia and the Pacific, and $0.185/GB in Latin America. As always, the rate per GB goes down as your usage increases.

In contrast to KeyCDN, CDN77 has no minimum monthly payment. The company also offers monthly plans which allow 6TB, 25TB, 50TB, and 100TB of bandwidth. Their entry-level 6TB plan retails at $199 per month; which works out at only $0.033/GB if you use your full allocation.

CDN77 Bandwidth

CDN77 has a clean user-interface and a good support area. Their content delivery network has also been optimised with the latest security and performance features. This makes it a great choice for WordPress users.

Comparisons will inevitably be drawn between CDN77 and KeyCDN as they have a similar pricing structure, similar feature set, and their network is around the same size.

CacheFly

Businesses with high traffic WordPress websites should consider CacheFly. Launched in 2002, CacheFly is one of the oldest content delivery networks online. Today, they have 43 points of presence (data centres) around the world.

cachefly

The company offers a host of content delivery network solutions. This includes ultra low latency video streaming, multi-CDN, smart edge apps, podcast delivery, security, and website acceleration in China.

Their media services are particularly impressive. By using advanced transcoding techniques, they are able to deliver video to over 250,000 concurrent users. That is incredible.

CacheFly Network Map

Their multi-CDN feature will interest those of you who experience traffic spikes. multi-CDN allows you to send visitors to the CDN with the shortest route, best performance, or the lowest price. This setup lets your website handles tens of millions of visitors at once.

CacheFly also boasts token based authentication, realtime traffic reporting, and support for multiple origins. They provide a mobile CDN too.

All of this advanced functionality does come at a cost.

The cheapest plan for CacheFly costs an effective rate of $245 per month if paid yearly ($295 per month if paid monthly). This plan can deliver up to 8TB of content from 15 data centres. You need to upgrade to their Pro 16 plan to gain access to all data centres and unlock all features of CacheFly.

If your business needs to deliver content quickly to a large number of people, CacheFly is a company you should be speaking too.

Other good content delivery networks that high traffic-websites should consider are Amazon CloudFront (mentioned earlier), Rackspace, Microsoft Azure CDN, and Imperva.

Google Cloud CDN is worth considering too as it can be integrated into a WordPress website easily with the WP-Stateless WordPress plugin.

BunnyCDN

BunnyCDN is a growing content delivery network that has 36 data centres across the world. Their network can handle 18 Tbps of traffic and has a global latency of just 30 milliseconds.

bunnycdn

BunnyCDN claim that they can reduce the average website load time down from 2.5 seconds to just 0.7 seconds; and with prices starting from just $0.01/GB, it is easy to see why many WordPress users are using their service.

In addition to hosting static files, you can use BunnyCDN to deliver video content.

BunnyCDN Network Map

BunnyCDN’s WordPress plugin makes the process of setting up your CDN simple. You just need to enter a few key details from your account area.

The main control panel for BunnyCDN is colourful and simple to navigate. Setting up your CDN pull zone is straight-forward, however you will also find advanced features in the account area such as HTTP/2 connections, Brotli & GZip compression, custom caching rules, bandwidth overdraft protection, SSL certificates, hotlinking protection, and IP blacklisting.

Analtics can be seen from your main dashboard too. You can view bandwidth cache statistics, traffic usage, errors, and more.

BunnyCDN Pull Zone

BunnyCDN’s low pricing structure makes it stand out from the crowd.

Once your 14 day free trial has expired, you will be charged according to the bandwidth you use. They charge $0.01 /GB for North America and Europe, $0.03/GB for Asia and Oceania, $0.045/GB or South America, and for $0.06/GB.

The rates above do not go down with usage, but prices do drop further if you opt for volume pricing. This option does reduce your access to only eight data centres in their network, however volume pricing will drop prices down to only $0.005/GB. The rate continues to drop as as your bandwidth usage increases.

Another bonus is that BunnyCDN does not have a minimum monthly charge. You are only charged for what you use.

BunnyCDN Statistics

It is easy to see why BunnyCDN is such an attractive option for WordPress users. The content delivery network has an impressive list of features, a dedicated WordPress plugin that makes setup simple, a user-friendly control panel, and a pricing structure that few other premium CDN services can match.

They also have a 14 day free trial that lets you test their service without entering any payment details.

Honourable Mentions

jsDelivr is an open-source content delivery network from Prospect One that was created for developers. It is free to use and no bandwidth limits are applied.

The service can operate due to the support of content delivery networks such as StackPath, Cloudflare, Fastly, NS1, and PerfOps. This is how it manages to offer a whopping 750 points of presence.

As you would expect, jsDelivr is popular among WordPress developers and developers who publish their software on GitHub.

jsDelivr Network

Sucuri is an online security company that helps website owners prevent attacks. Their WordPress security plugin can be used to harden your website and scan for malware and unauthorised access.

The company’s basic security plan retails at $199.99 per year; which is an effective rate of $16.67 per month. In addition to malware scanning and advanced DDoS mitigation, their security plans also include a content delivery network.

Sucuri CDN has 11 points of presence around the world and features HTTP/2 connections and many caching options.

I believe that other content delivery networks that I have referenced in this article are more flexible and give you access to a larger global network, however Sucuri is an affordable solution and it gives you access to premium WordPress security features that other content delivery networks do not.

Managed WordPress Hosting Companies

Managed WordPress hosting companies can greatly reduce the time you spend maintaining your WordPress websites by centralising common website administration tasks such as backups, security, updates, website staging, file management, and more.

Many premium managed WordPress hosting companies, such as Kinsta, Flywheel, and WPEngine, also offer customers access to a content delivery network.

This is a practical way of using a content delivery network as the managed hosting company configures everything for you. All you have to do is enable the CDN through your hosting account.

Kinsta CDN

Be sure to check how much bandwidth is provided and which content delivery network your managed WordPress hosting company offers to ensure that it meets your requirements. If it does not, you can still use another content delivery network if you wish.

For reference, Kinsta’s CDN uses KeyCDN, WP Engine uses Cloudflare, and FlyWheel uses Fastly.

Please read our article of the best managed WordPress hosting companies for a better understanding of the benefits of managed hosting.

Final Thoughts

With so much focus on beautiful designs and crafting great content, it’s easy to overlook the importance of page speed.

But speed can kill — your website, that is.

Remember: Google has no interest in ranking slow, sluggish websites. More than this, your visitors aren’t interested in a slow website, either. There have been numerous studies confirming that conversion rates are significantly impacted by load times.

That means a slow website is turning customers away at the door, as well as putting them off spending their cash. As you can imagine, that’s not a sustainable way to do business.

Using a CDN is a worthy step in the right direction to answering this problem, solving the issue of geographical distance between user and server by storing your website on servers strategically located around the world. By connecting to the server closest to them, valuable seconds are shaved off your load times.

If you’re interested in installing a CDN for your website, today’s list offers some of the best WordPress-compatible CDNs for all budgets. If you’re still on the fence, consider trying one of the free services we’ve listed and see just how much a CDN can boost your website’s performance.

*For a more in-depth introduction to CDNs, take a look at an earlier post of ours: What is a CDN?.

Which CDN are you currently using and why that particular one?

By Kevin Muldoon

Original post written by Shaun Quarton. Updated by Kevin Muldoon – a professional blogger and WordPress enthusiast with a passion for technology.
Comments (policy)

Leave a Reply

Your email address will not be published. Required fields are marked *

All comments are held for moderation. We'll only publish comments that are on topic and adhere to our Commenting Policy.

Our commenting form also supports the use of Markdown.