You can speed up your Joomla site by using memcached.
To enable memcached on Joomla, you need to modify a few settings in your Joomla configuration.php file first.
You can find this file in your Joomla site’s root folder. Using your favorite FTP software, edit this file and find the following lines:
public $caching = ‘0’;
public $cache_handler = ‘file’;
Change these lines to the following:
public $caching = ‘2’;
public $cache_handler = ‘memcache’;
Then, immediately after the two lines you edited, add these two lines:
public $memcache_server_host = ‘/home/sys/memcached.sock’;
public $memcache_server_port = ‘0’;
After you are done making all the changes, save the configuration file.
Configure Memcached in Joomla Settings
Now, we will configure memcached on our Joomla-based website.
Login to your Joomla site’s admin panel and navigate to System -> Global Configuration.
Click on the server tab at the top and scroll down to Cache Settings. From the drop-down menu select Persistent(Memcached).
Note: Make sure to enter the correct Memcached server host and port for your server.
Memcache(d) Server Host: /home/sys/memcached.sock
Memcache(d) Server Port: 0
Save the settings.
You’ve successfully enabled memcached on your Joomla website.