5 Tips to Speed Up Your Joomla 3.x Website

5 Tips to Speed Up Your Joomla 3.x Website

There are two main reasons to speed up a website:

  • Visitors don’t want to wait, so they will leave your website if it takes too long to load. Therefore, speeding up your website will be an added-value that brings higher visitor engagement, retention and conversation.   
  • Google has announced that website speed affects its search ranking:  faster websites are ranked higher because they provide visitors with a better experience. And that’s quite sensible.

You’ve wondered why your Joomla website loads so slowly, even it was upgraded to version 3.x, haven’t you? Well, let’s check out 5 tips you can use now to speed up your Joomla 3.x website.

1. Choose the Right Hosting from a Reputable Provider

Your site was probably put on the same server as hundreds or thousands of other sites. It could lead to slow speeds when many clients try to access this server at the same time. 
Therefore, ensure that you choose the right hosting from a reputable provider – one who can meet all of Joomla’s hosting requirements: a limited number of sites per server, server hardware support, server caching support, Joomla expert support… Some popular and well-known hosting providers recommended by Joomla user are: Bluehost, Inmotion, HostGator, Arvixe…

hosgator

Data Center of HostGator

2. Enable Gzip Compression

Using the Gzip Compression feature, you can compress your website pages before sending them to the user. After that, they will be uncompressed by the user’s browser. And this process takes less time than transferring uncompressed pages.

By default, Gzip Compression is disabled in Joomla 3.x. Therefore, you have to enable it manually by following these steps:

On the Top Menu, select Site > Global Configuration > Server tab, and switch the Gzip Page Compression to YES option.

gzip

Gzip Page

3. Enable Cache System

Most websites have contents that are not changed frequently. Therefore, the theory of Joomla caching is very simple: the Cache system takes a copy of the whole page in its first load. When the user visits it again, this copy will be displayed without reloading the same images and files all over again.

Please make sure that you enable Joomla Cache system. This is a very simple step but it can increase the loading speed of your website a lot. You can do it as follows:

Global Configuration > System > Cache setting, and switch Cache to “ON – Conservative caching”. In ‘Cache time’, choose 30 (minutes) for a cache file to be stored before it is refreshed.

cache_setting

Cache Setting

4. Optimization Settings (Images, CSS, Java Scripts…)

Here are the optimization that need to be used to speed up your website:

  • Images: don’t try to upload big scale pictures, resize them before uploading.
  • Template: try to have a lighter and simpler website template. Simple is always the best.
  • Reduce the size of CSS files; compress Javascript files; minify and combine CSS and Javascript files to reduce HTTP requests and file size.
  • Clean up Joomla often and remove anything that you don’t need: unused components, modules, plugins, “Not Found” queries…

Copy and past htaccess below to your htaccess file.


# BEGIN Expire headers
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType text/html "access plus 2592000 seconds"

# Add correct content-type for fonts
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
AddType image/svg+xml .svg

# Compress compress