Redis is an in-memory data structure store that serves as a cache, database, and message broker. For WordPress and WooCommerce websites, Redis can significantly enhance performance by caching frequently accessed data, reducing the need for repetitive database queries. When a user visits a site, Redis can quickly retrieve stored data such as posts, pages, and product information from its cache, bypassing the slower MySQL or MariaDB database queries. This results in faster page load times, reduced server load, and improved overall user experience. By handling transient data and objects efficiently, Redis helps ensure that high-traffic WordPress and WooCommerce sites remain responsive and capable of managing large volumes of simultaneous requests.
Enabling Redis Object Cache
Here at SharedGrid, we offer Redis Object Cache on all our Cloud Web Hosting, Cloud Reseller Hosting, and Cloud Dedicated Hosting plans for free. Redis Object Cache can be enabled within your control panel with the click of a button in just a few seconds. Let’s take a look at how to do this:
3. Using the top menu bar, hover over the ‘Advanced’ link, and then click on ‘Developer Tools’.
WordPress Plugins
There are several WordPress plugins available that enable your website to utilize Redis Object Cache. If you are using LiteSpeed Cache (LSCache), there is no need to install an additional plugin to use Redis. If you are not using LiteSpeed Cache, we recommend the ‘Redis Object Cache’ plugin by Till Krüss for the best results. You can find it here: https://en-gb.wordpress.org/plugins/redis-cache/
Litespeed Cache Plugin
If you are using the LiteSpeed Cache (LSCache) plugin, log into your WordPress admin and navigate to the LiteSpeed Cache plugin. Choose ‘Cache’ and then select ‘Object’ from the top menu.
Ensure your settings match the ones below, then save the changes.
Redis Object Cache Plugin
If you haven’t already, you should install the ‘Redis Object Cache’ plugin by Till Krüss. You can access the plugin settings and click the ‘Enable Object Cache’ button.