Website speed is important for a variety of reasons. A faster site will provide a better experience for your customers and visitors, resulting in fewer bounces. Your site’s Google search rankings can be affected by sluggish performance.
There are a few things to consider when trying to determine what could possibly be making your Joomla! site run slow. Below are popular ways to increase your website speed:
Low Quality Hosting = Slow Site
Whilst there are multiple things that you can do to enhance your site’s performance, such methods have their limitations. Tweaking CMS will only help optimize site performance. Low-quality hosts attract consumers with low prices, but they always fail to mention to the consumers that they have old servers and that they are unbelievably slow. You can only avoid this by researching on a web host that is proven to be trustworthy and very efficient Like
- minify code by removing whitespace and comments,
- recompresses and resizes images
This module directly complements Google’s PageSpeed Insights. It’s a great tool for giving you feedback on what can be done to optimize your site. The PageSpeed filter configuration page gives you options of what is available and possible.
PHP 7 and Boost Speed
The most easily recognizable advantage of the PHP 7.0.x is the significant performance improvement, your Joomla! code will be almost 2x faster compared to PHP 5.6. So check your hosting panel or ask hosting support how to switch to new version of PHP. Make sure all your plugins, modules and components you are using on the live site are compatible with PHP 7.
It might be necessary for you to increase the memory limit, a maximum amount of memory a script may consume. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 64M try 256M: memory_limit = 256M ;
If you don’t have access to PHP.ini try adding this to a .htaccess file: php_value memory_limit 256M
If none of the above works then you would need to talk to your host about having them increase your memory limit.
Optimization rules in .htaccess file
The .htaccess file handles the way your web servers process your site with a lot of rules to improve your site speed, here are the most used rules below:
- ETag – tells the browser to fetch image (that has already downloaded) from the local browser cache instead of the server. The first rule will create an ETag for files based only on the modification timestamp and their size.
- Expires headers – allows you to set different expiration times for different file types
- AddOutputFilterByType DEFLATE – minify the source code of your compiled HTML files by removing empty lines and spaces. Can only be used with Apache 2.x server. The server needs to be compiled with mod_deflate otherwise, it will send HTTP 500 Error.
Enable Caching Caching is the process of adding a lifespan to the files a client downloads when they view your site. It’s a lot faster for them to download the files that don’t change per page only once and check to see if they’ve changed every few minutes or hours.
Clean Up Garbage In Your Joomla
First, your website can be slow due to the particular code that you may be running on it. Each Joomla extension you add to your website requires system resources, database and disk space to operate. Having many extensions will increase the overall size of your website and make it slower. This is why keep only extensions that you’re actually using on your Joomla site. Modules help enhance your website’s functionality but it is also important to only use modules if you’re convinced that it is absolutely necessary. Remove unnecessary plugins and modules.Clear you database also from trash (unused component data), You don’t need these – delete them. Run OPTIMIZE TABLE to defragment tables for better performance at least ones in a month. It is healthy practice to periodically optimize and repair all MySQL tables
So keep your site as light as possible for better performance.
And upgrade to the latest version is always the first recommendation for fixing many problems, even when there isn’t such a clear performance benefit.
Limit or Remove Social Sharing/Like Buttons
Make Used Images Smaller
Images make up the majority of most sites’ total page weight. Un-optimized images can be very heavy, and as a result use a lot of server resources and take longer to load. Use smaller images not only in dimensions but also smaller in terms of file size. Optimizing used images is arguably the easiest way when it comes to improving your site’s page load time. By downscaling your images and compressing them carefully, you can cut the size of each image file by half without losing any quality.
Check your website performance
Check online tools to test your website performance:
They will give you some quick information about the speed of your site and useful suggestions how to fix it.