In this course, we will talk about how to try to improve the performance of our Joomla! and improve loading time, as well as improving the fluidity of our navigators.
Version of PHP and MySQL
Choosing the latest version of PHP that our website can support will bring a great improvement in performance, but for this, we have to verify that both our Joomla!, extensions, and template support the version we are going to use.
The version of MySQL will also help us when making our Joomla! able to process queries much faster. In this aspect, we would be talking about a Joomla! that fulfills the function of an ecommerce or that has some query that has to go through several tables.
Cache System
Using a cache system will help us improve the loading time of our website quickly and easily. Currently, Joomla! has several types of cache systems.
File: Creates session files to improve navigation fluidity
Redis: Service that is installed on the server and allows data to be collected.
Memcached: Cache system that is stored in RAM. "Not officially supported"
Activate Cache System
To activate the cache system, it is necessary to access the control panel and once inside we will go to System >> Global Configuration
In this new window, we will go to System >> Cache Settings
In this section, we can choose the cache gesture as well as the system cache.
Activate Memcached in Joomla!
First of all, I have to remind you that Joomla! does not officially support Memcached, but there is a way to activate it. For this, we must edit the configuration.php file.
In it, we change:
public $caching = '0';public $cache_handler = 'file';
to:
public $caching = '2';public $cache_handler = 'memcache';