Optimize Your Joomla Site To Boost Performance

Once you have your Joomla site up and running, you should consider optimizing it to streamline the experience to your end users. If you don’t optimize your website, the load times could be slow, resulting in a poor customer experience. There are several ways that you can optimize your Joomla site.

First, you can utilize a .htaccess file and cache all your images, scripts, javascripts and CSS among other things.

Second, you can add components into your Joomla site that give you more granular control into what you cache. Instead of caching an entire page, you can cache specific images, media or a gallery. By doing this, your visitor’s browser response time is sure to decrease.

Finally, you should consider integrating a Content Delivery Network (CDN) to store and serve some of the media for your Joomla site.  Use a component to such as CDN for Joomla to push all your media to our Cloud Files offering. When you do this, you take advantage of the geographically dispersed servers in the CDN to quickly push the files to the end user, which will result in a much better experience.

It’s a good idea to cache images, especially those that are used repeatedly on the site. However, there are many types of files that benefit the site if they are cached properly. Some files change rarely and other change more often, so it’s important to cache them for different lengths of time. However, for the cache to be useful, it must be at least two hours. Here are some common suggestions:

  • 4 Hours: HTML files
  • 2 Days: XML and TXT files
  • 1 Year: ICO, PDF, FLV, JPG, JPEG, PNG, GIF, JS, CSS and SWF files

 Find out more about how Rackspace can help you focus on building your Joomla site instead of managing servers. Check out Joshua’s previous post where he discussed the importance of updating Joomla.
Joshua Hatfield is a sales manager and long term Racker who specializes in helping customers architect their technical configuration. He is also an active contributor to the open source community, including Joomla, OpenStack and WordPress. When he is not at Rackspace, he enjoys fishing, hunting and short walks on the beach.


  1. The Joomla plugin linked to says that it works with any CDN system that supports Pull Zones. I have installed that plugin on my Joomla site, but I can’t figure out how to configure it to work with Rackspace Cloud Files.

  2. For clarification, is Rackspace CloudFiles a Push, or Pull zone CDN? Our understanding was that Rackspace was Push only; the CDN for Joomla extension referenced here is for Pull (not Push), however the extension does say it’s compatible with Akamai CDN? For the sake of client ease we’d like to configure with CDN for Joomla, but if only a Pull extension can be used, jomCDN has been referenced to work with Rackspace.

    Can anyone clarify whether CDN for Joomla can or cannot be used with Rackspace CloudFiles CDN? Thx in advance!

    • John,

      Cloud Files, which is now powered by OpenStack, provides an easy to use online storage (Called Buckets) for files and media which can be delivered globally at blazing speeds over Akamai’s content delivery network (CDN). Once pushed to our CloudFiles infrastructure you can publish the files to Akamai caching servers.

      I have used JomCDN personally and can confirm it works. JomCDN was recently updated to Version on March 22, 2013 : More information can be found here: http://extensions.joomla.org/extensions/site-management/content-networking/14395

      If you have any further questions please email me at joshua.hatfield@rackspace.com

      I wish you the best and look forward to your email.

      Joshua Hatfield
      Rackspace Hosting

  3. Even with advanced optimizations Joomla still performs poorly on CloudSites compared to other hosts. The CDN works well, but without moving your site from CloudSites you will not see an improvement. It is too bad Rackspace seems to be moving away from their simplest offering as the rest of their products I have used so far have been seamless.

  4. Thanks for great post, Joshua Hatfield! Using Leverage
    Browser Caching by copying codes to .htaccess file. This way takes a good
    result. Enable Compression and using JCH-Optimize will help you speed up your
    site significantly. 3 simple steps help me to speed up my Joomla site to 230% (page
    load time reduces from 5.71 second to 2.48 second. Pingdom, Page Speed
    Insights, and GTmetrix are good tools to test website speed. I shared my method
    at: http://vandon.com.vn/joomla/18363-guide-you-to-optimize-to-speed-up-your-joomla-website-quickly-and-efficaciously.
    Hope this helps for someone!

  5. I do not even understand how I ended up right here, however I thought this submit was once great.
    I don’t realize who you’re however definitely you are going to a well-known blogger in case you are not already.


Please enter your comment!
Please enter your name here