How to enable Redis Object Cache on your free WordPress hosting?

  1. If you have object caching enabled on your WP Total Cache plugin, disable it from you WP dashboard >> Performance >> General Settings >> Object Cache.

  2. Go to Plugins >> Add New. Search for Redis Object Cache. Install the plugin and Active.

    Redis Object Cache

  3. Go to Plugins and click on Settings button of Redis Object Cache plugin.

    Setting of Redis Plugin

  4. Click on Enable Object Cache.

    Enable Object Cache

  5. Make sure the status display as connected.

    Redis status Connected

  6. We recommend to take backup of wp-config.php on this step.Add following lines within wp-config.php to keep the caching consistent on page reloads.

    define(‘WP_CACHE_KEY_SALT’, ‘example.com’);
    define(‘WP_CACHE’, true);

    Replace the example.com with your actual domain name.

That’s it. You have successfully enabled Redis on your WordPress.

Related Articles

How to change the Site URL and Home URL Settings in WordPress?

WordPress offers two configurable URLs namely WordPress address and Site address to load the...

How to install theme in WordPress Website

What is a Theme and why we need it? Themes allow users to change the look and functionality of a...

What is the difference between wordPress Hosting and Linux SSD Shared Hosting?

Both of the shared hosting plans are almost the same, but the only difference is Wordpress...

How to configure WordPress to use temporary URL in cPanel?

WordPress is a CMS application that can be installed and accessed through a domain name. As per...

How to Defer Parsing of JavaScript in WordPress?

If you have tested your WordPress website speed in the website speed testing tool GTMetrix, you...

  • 36 Users Found This Useful

Was this answer helpful?