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:

SharedGrid Enhance Control Panel Login Screen.
1. First, you will need to log in to the control panel using the details you received during sign-up. If you can’t remember your login details, don’t worry. You can log in to our billing system at https://my.sharedgrid.com/ and use the single sign-on link, or contact us, and we will be more than happy to assist you.

2. Once you have logged into your control panel, you will see a list of websites you currently host with us. Click on the website for which you would like to enable Redis Object Cache.

3. Using the top menu bar, hover over the ‘Advanced’ link, and then click on ‘Developer Tools’.

4. Scroll to the bottom of the page, and click the toggle under the ‘Redis’ section.
5. It will only take a second for Redis to start. Redis Cache runs within your website’s PHP container, ensuring it is completely isolated from other websites. You have the ability to start and stop Redis, as well as edit the redis.conf file. It is possible to use Redis as a UNIX socket by editing the redis.conf file; however, this will be covered in a different article.

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.