Joomla CDN Integration

 joomla-cdn

Joomla is the second most popular content management systems (CMS) after WordPress. The open-source CMS is freely available and offers a wide range of extensions to customize a website. This guide shows you how to perform a Joomla CDN integration to help improve content delivery speeds and reduce latency.

A fast loading Joomla website is essential for user satisfaction, which is why it’s important to choose the best CDN for Joomla. With KeyCDN, the static content of a Joomla site will always be delivered to the end client from the closest KeyCDN location. The integration of KeyCDN into a Joomla website is very easy thanks to the plugin “CDN for Joomla!”. The plugin updates the website so that static assets are loaded from KeyCDN and not the origin server anymore.

The free version of the CDN for Joomla extension only supports HTTP integrations. If you are using HTTPS for your CDN URL, then you are required to buy the paid version from the plugin author. The following tutorial shows how to integrate Joomla with KeyCDN using HTTPS.

How to complete a Joomla CDN integration.

  1. It is recommended to backup your CMS before you start with the integration.
  2. Create a pull zone (recommended) or a push zone before you start with the Joomla CDN integration.
  3. Login to your Joomla admin panel.
  4. Download and install the plugin.
    • Download the plugin from here: CDN for Joomla!
    • Upload “CDN for Joomla!” by navigating to Extensions > Manage > Install.
      joomla extensions install

      Navigate to Extensions > Manage > Install

  5. Go to Extensions > Plugins in the top menu. Choose the plugin “CDN for Joomla!”. Enter the KeyCDN URL in the field “CDN Domain” e.g. https://ssl.demo123.org
    joomla plugins

    Navigate to Extensions > Plugins

    We recommend to enable all file types as shown in the screen shot below. If there are issues with certain file types after the CDN integration, we recommend to disable that specific file type temporarily until the issue is solved.

    Joomla CDN Integration - Plugin Configuration

    Configure the Joomla CDN Plugin

  6. Save all the updates.
  7. We recommend to examine the HTML code, in order to check if all the URLs have been properly rewritten. All static assets (as defined by file type in the plugin) should now be pointing to KeyCDN.

Using the CDN for Joomla! extension is one way to setup a Joomla CDN integration, however, some users may already have the JCH Optimize plugin installed and configured. In this case, you don’t need to follow the instructions above, simply take your Zone URL or custom CDN URL and enter it into the CDN/Cookieless Domain section of the JCH Optimize plugin.

cdn cookielessdomain feature

This plugin allows you to define multiple domains to parallelize downloads across hostnames however this is no longer recommended with HTTP/2. Select the file types you want to accelerate using the CDN and check your page’s source code to verify if you’re assets are being called using the CDN URL.

Choosing the Best CDN for Joomla

Once you have completed the above integration, your Joomla site will be integrated with KeyCDN. When choosing the best CDN for Joomla, you should ensure that the CDN provider supports the new HTTP/2 protocol, uses optimized SSD servers, and offers SSL options such as free Let’s Encrypt certificates. These features will ensure your site is receiving a major performance boost while remaining secure.

Additionally, KeyCDN users will benefit from 20+ points of presence (POPs) around the world. All POPs are enabled by default and there’s no extra fee for locations in Asia or Oceania. Traffic spikes can easily be handled by the CDN (instead of the origin server). The KeyCDN dashboard shows all activities in real time. The raw logs can be examined in real time, setting filters on certain headers or values (e.g. 404). There’s also a geographic breakdown available showing transferred data and the number of requests per country.  Additionally, it’s possible to forward the raw logs to a server of your choice. The KeyCDN cache can be purged at any time in the dashboard or via the API, this can be a specific URL or the whole zone. It only takes a few seconds until the cache is globally purged.

KeyCDN provides you with awesome tools for content delivery. Also check the following pages:

10 Comments

  1. A. Louis Rossi

    Two questions. I’m somewhat new to all this. The Joomla! plugin I am using is JCH Optimize. I am assuming this will work and I won’t need the CDN for Joomla! extension. Also, the pull domain from which the static files are to be served is cookieless, correct?

  2. A. Louis Rossi

    Thank you Cody. I have signed up for the 30-day trial, created a zone and it looks like it is working properly, as far as I can see from pingdom tools. JCH allows for multiple zones. Is it possible to create more than one and have them used in parallel?

Leave A Comment?