{"id":8090,"date":"2023-12-13T11:35:12","date_gmt":"2023-12-13T11:35:12","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=ht_kb&#038;p=8090"},"modified":"2024-01-01T19:36:44","modified_gmt":"2024-01-01T19:36:44","slug":"how-to-easily-enable-redis-object-cache-in-joomla","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/how-to-easily-enable-redis-object-cache-in-joomla\/","title":{"rendered":"How to Enable Redis Object Cache in Joomla"},"content":{"rendered":"<p>In this tutorial, we&#8217;ll show you how to enable Redis Object Cache in Joomla latest versions.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/blog\/what-is-object-caching\/\" target=\"_blank\" rel=\"noopener\">Object caching<\/a>\u00a0in 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.<\/p>\n<p>Before we begin, please make sure that Redis is activated on your cPanel account as shown in <a href=\"https:\/\/chemicloud.com\/blog\/what-is-object-caching#how-to-enable-redis-on-your-website\" target=\"_blank\" rel=\"noopener\">this article,<\/a> and have the socket path handy.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tPlease keep in mind that if you have multiple websites using Redis Object Cache, you need to specify a unique number in the\u00a0<strong>Redis Database ID\u00a0<\/strong>field for each website.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h3 id=\"how-to-enable-redis-object-cache-in-joomla\">How to Enable Redis Object Cache in Joomla<\/h3>\n<p><strong>1)<\/strong> Log into your Joomla Admin Dashboard and navigate from the left sidebar to <strong>Systems;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8092 size-large\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System-783x441.png\" alt=\"\" width=\"783\" height=\"441\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System-783x441.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System-300x169.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System-768x432.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System-50x28.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System-60x34.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System-100x56.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-System.png 1510w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/p>\n<p><strong>2) <\/strong>Under the Setup section, click <strong>Global Configuration;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8091\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration-783x589.png\" alt=\"\" width=\"643\" height=\"484\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration-783x589.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration-300x225.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration-768x577.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration-50x38.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration-60x45.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration-100x75.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Configuration.png 1200w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>3. Click the <strong>System tab;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-8093 alignleft\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-783x364.png\" alt=\"\" width=\"643\" height=\"299\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-783x364.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-300x139.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-768x357.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-50x23.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-1536x714.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-60x28.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-100x46.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System.png 1890w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>4. Scroll down to the <strong>Cache section,<\/strong> and in the <strong>Session Handler<\/strong> list box and set:<\/p>\n<p><strong>System Cache:<\/strong> ON (Conservative Cache)<\/p>\n<p>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&#8217;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.<\/p>\n<p><strong>Cache Handler:\u00a0<\/strong>Redis<\/p>\n<p><strong>Persistent Redis:<\/strong> Yes<\/p>\n<p><strong>Redis Server Host\/Sock: <\/strong>Enter the Redis socket path from cPanel<\/p>\n<p>Leave everything else as it is and click the <strong>Save<\/strong>\u00a0button to apply the settings and activate Redis Object Cache.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8093\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-783x364.png\" alt=\"\" width=\"643\" height=\"299\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-783x364.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-300x139.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-768x357.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-50x23.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-1536x714.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-60x28.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System-100x46.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-Global-Config-System.png 1890w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8094\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-783x490.png\" alt=\"\" width=\"643\" height=\"402\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-783x490.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-300x188.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-768x481.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-50x31.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-1536x962.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-2048x1283.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-60x38.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2023\/12\/Joomla-redis-cache-100x63.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You have now succeeded in setting up the Redis object cache with your Joomla website hosted at ChemiCloud.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we&#8217;ll show you how to enable Redis Object Cache in Joomla latest versions. Object caching\u00a0in 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&#8230;<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[191],"ht-kb-tag":[],"class_list":["post-8090","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-website-speed"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/8090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=8090"}],"version-history":[{"count":2,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/8090\/revisions"}],"predecessor-version":[{"id":8112,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/8090\/revisions\/8112"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=8090"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=8090"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=8090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}