7 tips to improve Joomla website performance [part 2]

Written by  Sunday, 22 October 2017 20:41

To continue with the tips to improve Joomla website performance, in the previous part, I had introduced how to use caching and .htaccess Optimization Rules, in this part, I will show you some other tips and hope you find it useful.

Joomla Compression

This is also an effective feature to optimize your website performance. When you enable this feature, the web page will be compressed and of course, the compressed page will take less time to load. Here is the way to enable Joomla Compression:

  1. Go to System and choose Global configuration.

7 tips to improve joomla website performance templatetoaster blog 8

  1. Select Server, press the Yes button next to Gzip Page Compression label.

7 tips to improve joomla website performance templatetoaster blog 3

  1. click Save button, there will be a message returned to inform Joomla compression enable.

7 tips to improve joomla website performance templatetoaster blog 9

Image Optimization

Images seem to be used a lot in websites so if you want to escalate loading time on page, don’t ignore optimizing images with some tips like:

  • Large images are never recommended, let’s scale them in HTML by height/width.
  • You can use some useful online and offline tools such as Adobe Photoshop, Gimp, Smush to optimize images

Performance Optimization Extensions

Besides taking advantages of Joomla inbuilt features, you can also optimize your Joomla website by Joomla extensions. You can choose free or premium Joomla extensions available on market.

Removing Unnecessary and Unoptimized Extensions

Extensions are the crucial part for a website to extended the functionality of the website. But those extensions will consume resources such as database or storage. There is one fact that people usually forget clean-up extensions after they test different plugins, modules, and components, as the results, loading time will increase. You know that not all extensions are built with optimized code, so before downloading, let’s go through the user reviews to avoid unoptimized extensions.

Update Joomla Extensions

Like other open sources, Joomla is usually updated to add new features and eliminate all the limitations of the previous version by adding new code and optimizing existing code. So, don’t hesitate to use new updated version for your website. Extensions of Joomla may be a template, component, plugin or module. The outdated extensions, sometimes, will be incompatible with current version of Joomla. Reducing speed of a website is just a problem, the more serious one is a conflict issue.

Using Content Delivery Networks

This system of interconnected cache servers makes use of geographical proximity for content delivery. CDN will shorten the distance between visitors and server which deliver your content. It is especially suitable for web owners who usually work with audio, video, and image files because instead of loading via the server, that file will be loaded from CDN. You can choose among the most popular content delivery networks: MaxCDN, CDN77.com, CloudFlare, CacheFly, etc.

Web Hosting

Another factor will affect the performance of your website is a server it is deployed. Therefore, finding a fast and reliable web hosting service is so important. In case you have hired shared web hosting services, performance will depend on the processing power assigned to your website. Thus, with shared hosting, you only should choose when you can make sure that it will get enough processing power to quickly respond to a request. You can use cloud hosting because it is fast but it will charge you some fees, sometimes, quite expensive.

140 Read Last modified on Sunday, 22 October 2017

Related items

  • [solved] Deprecated: Methods with the same name as their class will not be constructors ... www/plugins/content/jw_sigpro/jw_sigpro.php on line 19

    If you update your hosting to v7.1 & more - you can look same notification 'Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_sigpro has a deprecated constructor in .../www/plugins/content/jw_sigpro/jw_sigpro.php on line 19'

    This code fix this problem you need Open plugins/content/jw_sigpro/jw_sigpro.php find this code in line 28:

    function plgContentJw_sigpro(&$subject, $params)
    	{
    		parent::__construct($subject, $params);
    
    		// Define the DS constant under Joomla! 3.0
    		if (!defined('DS'))
    		{
    			define('DS', DIRECTORY_SEPARATOR);
    		}
    	}

     And replase it to this code:

    public function __construct(&$subject, $params) {
    	parent::__construct($subject, $params);
    
    	// Define the DS constant under Joomla! 3.8.2+
    	if (!defined('DS')){
    		define('DS', DIRECTORY_SEPARATOR);
    	}
    }

    Awesome - it work done! :-)

    If you see same problem with jw_sig.php  - just download free new plugin from GitHub and install it: https://github.com/joomlaworks/simple-image-gallery

  • Improving conversion rate from existing traffic with Magento extensions

    If you are also a retailor, have your ever thought that you will be the formidable opponent of the giant like Amazon and Walmart or at least you desire to compete with them? If our answer is yes, you should build an actually powerful online selling system. So, the core of your marketing strategy should be conversion rate, not just traffic because traffic is just the visible part of the iceberg. There is one thing which is always true that a company selling well will gain high conversion rate. That is the evident truth.

    A common mistake of many business owners is putting too much efforts on stimulating traffic amount and almost forgetting conversion rate. If traffic is not converted, what does that high traffic amount mean?  After all, rate of conversion or purchasing seems to be the most proper criteria to evaluate whether how well your business works.

  • 7 tips to improve Joomla website performance [part 1]

    If you want to check the speed of your Joomla website, let’s start with speed test first. It can be said that site speed is one of the most important factors that affect directly a site performance. All your effort put into user-friendly interface, conversion rate optimization, high-quality content, and other things will not make sense if your page takes visitors too much time for loading.

    Of course, I do not deny that Joomla is one of the most powerful CMS and the best choice for any business owners who want to have websites easily but it had better improve your site speed continuously. You can increase the speed of your Joomla site by using its inbuilt features and follow the tips I will mention in this article.

  • Joomla! 4 – The hope of promising year 2018

    During 2017, we have heard a lot of opinions that this year has been too gloomy for Joomla. However, we think that this year is so important because it is the stepping stone for the explosion in 2018 when we prepare to welcome Joomla! 4.0 and Joomla! Framework 2.0. In addition to introducing several new features, including a fully rebuilt Media Manager, an enhanced event dispatching system, and new security features such as support for prepared SQL statements, we have also been doing some routine maintenance and paying off some of our project’s technical debt by retiring deprecated code and raising the minimum supported software stack. And, with this released version, we also require PHP 7.

  • Unset Joomla Scripts from Template (k2 and other)
    in PHP
    // Unset unwanted Scripts - by name
    $unset_scripts = array(
    	'k2',
    	'...',
    );
    
    foreach($this->_scripts as $name=>$script)
    {
    	if (!preg_match('#(' . implode('|', $unset_scripts) . '#i', $name))
    	{
    		continue;
    	}
    
    	unset($this->_scripts[$name]);
    }

    or if you use joomla v3.8.1 you can try this php code:

    <?php
    	$doc = JFactory::getDocument();
    	unset($doc->_scripts[JURI::root(true) . '/media/system/js/mootools-more.js']);
    	unset($doc->_scripts[JURI::root(true) . '/media/system/js/mootools-core.js']);
    	unset($doc->_scripts[JURI::root(true) . '/media/system/js/core.js']);
    	unset($doc->_scripts[JURI::root(true) . '/media/system/js/modal.js']);
    	unset($doc->_scripts[JURI::root(true) . '/media/system/js/caption.js']);
    	unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery.min.js']);
    	unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery-noconflict.js']);
    	unset($doc->_scripts[JURI::root(true) . '/media/jui/js/bootstrap.min.js']);
    ?>

    if you wand disable all js & css scripts - use code:

    $doc->_scripts     = null;
    $doc->_script      = null;
    $doc->_styleSheets = null;