The Object Cache is an advanced caching layer that significantly speeds up your website’s dynamic components by reducing database load. RunCache integrates directly with Redis, a powerful in-memory data store, to provide a high-performance, persistent object caching solution.

What is Redis Object Cache?

WordPress performs numerous database queries to generate a single page. It often runs the same queries repeatedly, such as fetching site options, theme settings, or user data. The WordPress Object Cache is a built-in mechanism that stores the results of these queries in memory for a short time.

By default, this cache is non-persistent, meaning it is cleared after each page load. Redis Object Cache replaces this default behavior with a persistent, server-level cache. When WordPress needs data, it first checks Redis. If the data is found there (a “cache hit”), it’s returned instantly without ever touching the database, resulting in a massive performance gain. This is particularly suited to:

  • High-Traffic Sites: To reduce database CPU load and handle more concurrent users.
  • WooCommerce Stores: Speeds up product pages, filtering, and backend order processing.
  • Membership Sites & LMS: Improves performance for logged-in users and dynamic course content.
  • Slow wp-admin Dashboards: Dramatically speeds up the WordPress backend by caching administrative queries.

How to Enable Redis Cache

Enabling Redis Object Cache is straightforward, especially on a server managed by RunCloud.

1. Requirements

Before you begin, you must have Redis installed and running on your server. For RunCloud users, this is a simple one-click process:

  1. Navigate to your server in the RunCloud dashboard.
  2. Go to Services.
  3. Click Install next to Redis if it is not already running.

2. Connection Setup

Once Redis is installed, you just need to connect RunCache to it.

  1. In your RunCloud dashboard, navigate to your Server > Settings.
  2. Find the Redis Password tab and copy your Redis password.
  3. In your WordPress dashboard, go to RunCache > Settings > Object Cache.
  4. Paste the Redis Password into the appropriate field.
  5. Click the toggle to enable Object Cache, then enter the password you just copied.

3. Verification & Testing

RunCache will automatically test the connection to your Redis server.

  • If the connection is successful, you will see a green “Enabled” status indicator. The object cache is now active.
  • If the connection fails, you will see an error. Double-check that Redis is running on your server and that you have entered the correct password.

If you have any other questions or need help – please feel free to get in touch with our 24/7 support team. We’re here to help!