Are you worried about your WordPress website performance? Do you want to improve your website’s loading speed?
If you said yes to any of these questions, you should use a CDN. Using a CDN is one of the best ways to improve the performance of your website. There are various CDN services with different features and options.
KeyCDN is one such CDN service. In today’s post, I will take an in-depth look at KeyCDN and find out why it’s the best choice for speeding up your website.
Getting Started with KeyCDN
KeyCDN makes it very easy to implement the service on your website. There are three steps in the process –
- Creating a Zone,
- Ensuring the CDN is working and
- Integrating KeyCDNwith your Website
To create a zone, you will need a KeyCDN account. Once you have registered and logged in to your account, go to Zones -> Add New Zone. Provide a name for your zone and choose the status as active.
In the “Zone Type” field, you will find two types of zones – Pull and Push. A pull zone will automatically collect the files from your server. Unless you have files larger than 10MB, you should create a pull zone. But if you have larger files, you have to create push zones for them. Specifically, if the file size is more than 100MB, you have to create push zones. These files are not supported by the pull zones.
Provide your website URL in the ‘Origin URL‘ field and click ‘Save‘. At this point, you have successfully created a zone. It might take a few minutes to get your zone ready. Once the zone is ready, you can view the zone details by going to the ‘Zones’ section.
Next, you need to check that the CDN can access your files correctly. To do that, select any static file of your website and copy the URL. Say, you have chosen this file –
Replace your domain with the zone URL you just created. The new URL should be –
If the file is displayed correctly, your CDN is in place. Now you need to connect it to your website. If you are using WordPress, there is a dedicated plugin for that purpose. You will find the plugin options at the Settings -> CDN Enabler page. This video explains how to set up the plugin for KeyCDN.
If you are using any other platform like Joomla, Drupal, Magento, Perch, PrestaShop, etc., you will find the integration guides here. What’s more, KeyCDN also offers detailed guides for setting up the service with various developer frameworks like Rails, Laravel, Symfony, Zend Framework, etc.
Exploring the Admin Dashboard
Once you log in to your account, you will be taken to the admin dashboard. If you use WordPress, you will find the panel quite familiar. There is a navigation menu on the left. Below, I will discuss the most relevant sections briefly.
The overview page starts with four tabs providing updated information about the remaining bandwidth, used storage data, available credits and the number of zones you have. Then, there is a chart of your credits followed by some links to support various articles.
In the “Account Settings” section, you can provide general information about your account, set up authentication, define access rules and know about the referral program.
The next section is “Reporting“, which is one of the most important sections in the WordPress dashboard. There are five sub-menus under this section –
- Geo Stats
- Top Files
- Real-time Logs
- Real-time Stats
Analytics displays detailed information about the used bandwidth, cache hits, success notifications and any client error. This data could be viewed for all zones or a particular zone, at different time frames including the last seven days, 30 days, this month, last month, etc. You can also choose a custom date range for the data.
The Geo Stats section displays the top ten countries by the number of request and the amount of data transferred. This data can also be filtered by zones and various timeframes.
Next, the Top Files section displays which files are using the most bandwidth. The handy charts and lists will help you identify the most viewed file name, type, and size. Depending on this report, you can optimize the files to ensure a better performance for your website.
The Real-time Logs section helps you to analyze the website traffic in real time. This is especially useful for detecting 404 errors or caching of newly added files.
Real-time Statistics allows you to track the CDN performance in real time. You can view various reports like the requests per second, traffic, cache hit ratio, etc.
This is the section where you can create, edit and manage your pull and push zones. The list of zones will provide the ID, name, type, URL, origin URL and status for each zone. You can delete any zone by clicking the ‘Manage‘ drop-down menu and choosing ‘Delete‘.
There are several other sections which you might not need at the moment. Among them, the ‘Payment’ section includes details about your payment method. ‘Zonealiases’ allows you to create custom CDN URL to use in the DNS records. ‘Zonereferrers’ can help you save your content from being hot linked on other sites. And ‘Subusers’ could be used to add dedicated FTP users for your push zones.
Solid Security Features
As the CDN plays a significant role in your website performance, you need to make sure that you are choosing a secure and reliable CDN service. And KeyCDN is one of the most reliable CDN service providers out there. It offers reliable security features like free SSL, bad bot blocking, DDoS prevention, OCSP stapling, hotlinking protection, etc.
KeyCDN works in collaboration with LetsEncrpt to offer an additional layer of protection for the users. To use this feature, you will need a custom CDN URL (which is available at the Zonealiases section of your account dashboard).
Blocking the bad bots, scrapers, spiders and crawlers is another notable security feature of KeyCDN. These harmful elements eat up your bandwidth and keep your server busy. You can enable the blocking feature for any pull or push zone.
If you need to provide temporary access to a file, you can use the secure token feature. This allows you to set an expiry time for accessing the content. Once the expiry time is over, the content will not be available from that link anymore.
KeyCDN also offers a built-in protection against Distributed Denial of Service (DDoS) attacks. These attacks can make your website inaccessible by sending a huge amount of traffic within a short period. The KeyCDN servers are carefully monitored to trace any such attack and stop them instantly.
Assets hotlinking is another potentially dangerous issue for your website performance. In this process, other sites link to assets located in your server and waste your bandwidth. Luckily, KeyCDN offers excellent protection against hotlinking too.
SEE ALSO: 10 Best WordPress Security Plugins
Special Focus on Performance
The performance of a CDN service depends on its servers. With 25 Points of Presence (PoP) spread all over the world, KeyCDN is a suitable solution for any website. The strategically positioned PoPs will make sure that your visitors are getting content from the nearest server without any significant delay.
It doesn’t matter if your visitors are located in the Americas, Europe or Asia; KeyCDN has active PoPs in all these places. As professional group infrastructure partners maintain each PoP, you can rest assured about the performance of your website. There are also several PoPs planned to begin operation shortly.
When it comes to the future network protocol, HTTP/2 is, of course, the answer. Most modern web browsers already support this protocol. If your server supports this, you can use KeyCDN to deliver content to your visitors through the HTTP/2 protocol.
SEE ALSO: Top 10 WordPress Caching Plugins
As KeyCDN makes optimal use of HTTP Live Streaming (HLS) technology, it is the best choice if you are serving on-demand content from your website. The adaptive technology will automatically detect the client device and deliver the best type of content for the available bandwidth. You can also use the Byte-Range Request feature to allow your visitors to request for small portions of large media files.
The excellent features of KeyCDN are supported by competitive pricing plans. While the pricing starts from as little as $0.04 per GB for the first 10TB, you can also choose larger volumes including 40TB, 100TB, 2PB, more than 3PB, etc. What’s more, the pricing is same for all regions around the world.
If you are still not confident whether you are ready for the premium plans, you can get started with the free trial. The trial comes with 250GB bandwidth, $10 credit and access to all premium features.
Using a CDN service is an excellent way to increase the performance, security, and reliability of your website. With 25 PoPs around the world, affordable pricing and reliable security features, KeyCDN should be one of your top choices.
If you need any more help in choosing and implementing a CDN service for your website, let me know by leaving a comment below. I will try my best to help you.