In this tutorial, we’ll show you how to enable Redis Object Cache in Joomla latest versions.
Object caching in Joomla plays a crucial role in boosting website performance. It accomplishes this by storing the outcomes of previous database queries, thereby minimizing the need for repeated queries. The result is quicker page loading, leading to an enhanced user experience due to the increased speed and efficiency in accessing website content.
Before we begin, please make sure that Redis is activated on your cPanel account as shown in this article, and have the socket path handy.
How to Enable Redis Object Cache in Joomla
1) Log into your Joomla Admin Dashboard and navigate from the left sidebar to Systems;
2) Under the Setup section, click Global Configuration;
3. Click the System tab;
4. Scroll down to the Cache section, and in the Session Handler list box and set:
System Cache: ON (Conservative Cache)
Progressive caching stores a unique version of website content for each visitor, meaning that each person sees a version tailored to their specific interaction with the site. On the other hand, conservative caching provides the same cached content to all visitors, regardless of their individual interactions. Therefore, if your website modules contain mostly static content that doesn’t change frequently, progressive caching would be the better choice. However, if your content remains largely uniform across different visits, conservative caching is the more appropriate option.
Cache Handler: Redis
Persistent Redis: Yes
Redis Server Host/Sock: Enter the Redis socket path from cPanel
Leave everything else as it is and click the Save button to apply the settings and activate Redis Object Cache.
You have now succeeded in setting up the Redis object cache with your Joomla website hosted at ChemiCloud.