Joomla 1.6 Site Performance

Site optimisation is a factor when it comes to ranking well in search engines. The speed at which your site loads increases website usability for users on mobile devices and slow internet connections, decrease bounce rate and enables bots to crawl your site faster!

When configuring your Joomla 1.6 website there are several check list items that you need to check to make sure that it is performing at its best.

Performance Check List

  • GZip
  • Global Cache
  • System Cache Plugin

GZip

First thing to look at is to compress the delivery of files on your website. Most servers these days allow you to deliver content via compression.

To enable GZip in your Joomla website, navigate from the site menu:

Site -> Global Configuration

Click on the SERVER sub menu on the page and you will be presented with the server orientated configuration options.

Global configuration figure 1

Choose YES for the radio button next to GZip Page compression and then hit SAVE in the top right corner of the screen.

If you server allows for GZip delivery of content then you pages will be just that little bit smaller now.

Global Cache

Global cache will start caching certain parts of your Joomla website such as the modules and menus that appear on your website. To turn on the global cache, navigate to the Global Configuration via the main administrator menu

Site -> Global Configuration and select the System sub menu item on the screen.

Global configuration: Cache

On the side of this screen you will see the caching options.

Basic settings would be to have:

  • Cache ON - Progressive caching
  • Cache handler: File
  • Cache Time: 15 minutes

Cache

In Joomla 1.6 we have a few new caching options available to us. 

  1. ON - progressive, 
  2. ON - Conservative and 
  3. OFF

The progressive settings are the default cache settings. If provides faster caching and takes up the most space in terms of system caching. It isn't recommended for very large websites. It will cache modules.

Conservative cache will only cache certain elements of your website

Cache OFF will obviously disable the caching system on the website.

Cache Handler

This option allows you to switch between the different types of caching methods available on your server. File handler is the default and sometimes the only option in many cases. Other server configurations may allow for MEMCACHE and other caching methods. It is best to talk to your hosting providers to get other caching methods enabled on your server.

Cache Time

For websites that update often it would be a good idea to keep this cache time low. For sites that don't update often, e.g. once a week, you can increase this cache time to a few hours.

 

System Caching

The system cache or page cache will cache all of the pages on your site for visitors. It also gives you the option to cache the pages on the user's computers/browsers.

To enable the system cache, navigate via the administrator menu to:

Extensions -> Plug-in manager

Joomla 1.6 Plug-ins manager

Here you will be given a list of all the current plugins in your website. Navigate to the System plugin called, System - Cache and select it.

Plugins System cache

On this screen, choose enable from the drop down menu and then choose YES for Use Browser Caching. This will enable the page caching for the website.

Results

On the default install of Joomla 1.6 the changes are very minimal but you can see how the caching effects the website slightly.

Doing a test over websiteoptimization.com we can see the differences in page size and download speeds over a 56k modem.

Before

Object TypeSize (bytes)Download @ 56K (seconds)Download @ T1 (seconds)
HTML: 14270 3.04 0.28
HTML Images: 2408 0.68 0.21
CSS Images: 201001 46.46 7.46
Total Images: 203409 47.14 7.67
Javascript: 193301 39.72 2.22
CSS: 29626 7.10 1.36
Multimedia: 0 0.00 0.00
Other: 0 0.00 0.00

 

After

Object typeSize (bytes)Download @ 56K (seconds)Download @ T1 (seconds)
HTML: 3641 0.93 0.22
HTML Images: 2408 0.68 0.21
CSS Images: 201001 46.46 7.46
Total Images: 203409 47.14 7.67
Javascript: 193301 39.72 2.22
CSS: 29626 7.10 1.36
Multimedia: 0 0.00 0.00
Other: 0 0.00 0.00

 

The main differences here that you can see is the file size of the HTML page. Before being 14.270 kb is now reduced to 3.641 kb reducing the page load time over a 56k modem from 3.04 seconds to 0.93 seconds.

This reduces the file size down to 25% of the original size which is quite a large decrease in file size.

Last modified on Tuesday, 07 August 2012 19:57
Peter Bui

Designer, developer and business owner at PB Web Development. Providing Joomla training for people that really need it.

Website: https://plus.google.com/+PeterBui/?rel=author

Login

If you have a subscription, login to access course material and your account details.

Please contact m@joomtraining.com.au for any account issues.