Speed Up Your Divi Site Filters with Transient Cache (Plugin Update)

Performance matters. Whether you’re running a WooCommerce store or a directory site powered by Divi Machine, you know how important it is to keep things fast. That’s why we’re excited to introduce a brand-new feature across three of our plugins—Divi Ajax Filter, Divi Machine, and Divi BodyCommerce—that taps into the power of transient caching.

In this post, we’ll break down what transient cache is, why it matters, and how this new feature will help your website feel lightning-fast.

What Is Transient Cache?

WordPress transient cache lets your site temporarily store bits of data in the database, like query results, API calls, or complex operations, so they don’t have to be recalculated every time someone visits a page or clicks a filter.

Think of it like this: Instead of making a sandwich from scratch every time someone asks for one, you prep a bunch in advance and hand them out on demand.

Why use it?

Why this is important might not be obvious at first, but the benefit to your Divi sites can be summarized like this:

  • Faster page loads
  • Reduced server strain
  • Smoother user experience

For filtering in particular, this means results are shown almost instantly for most users, even with large datasets.

How We’re Using It in Our Plugins

We’ve added support for transient caching inside Divi Ajax Filter, which is also included in Divi BodyCommerce and Divi Machine. This will specifically result in a massive improvement when returning filter results and we know how much you all will love that performance boost.

Here’s what happens when you activate the new cache feature:

  • The plugin checks if Redis or Memcached is available on your server
  • If found, it stores the filtered results there
  • If not, it falls back to WordPress transients using your database
  • If caching is off entirely, we prompt you to enable it with define('WP_CACHE', true);

You’ll need to check with your hosting provider to get either Redis or Memcached enabled.

If your hosting provider does NOT offer these module, we’ve made sure to include support for WordPress Object Caching which you can enable by adding the snippet below to the wp-config.php file of your WordPress site.

define('WP_CACHE', true);

This all happens behind the scenes, and the best part? You don’t have to configure anything manually, we’ll guide you.

How It Speeds Things Up

Let’s say a customer filters products by size, color, and price. Without caching, WordPress would query the database for every combination.

For example: Let’s say Bob comes to your store and filters for Pink Justin Bieber shirts in size Medium, Bob will still have slower filters.

With transient cache:

✅ The result of that exact filter combination is stored temporarily.
✅ The next visitor who selects the same filter combo gets an instant result.

For example: Now, when Tracy comes along 10 minutes after Bob and also filter for Pink Justin Bieber shirts in size Medium, Tracy’s results will load much much quicker.

Multiply this by dozens (or hundreds) of users and filters, and the savings are huge.

PRO TIP

If you’re running a high-traffic store or listing site, ask your host if Redis or Memcached is available. They offer faster cache retrieval than the default database-based method.

How to Turn It On

We’ve made it super simple. Just update to the latest version of any of these plugins:

Turning on Transient Caching for Divi

1️⃣ Head to the Divi Theme Options
2️⃣ Click on Divi Engine
3️⃣ Toggle Transient Cache to Enabled

Once enabled, you also have settings for how long the cache should be retained for as well as the ability to flush the cache.

That’s it. No code, no fuss.

Why It Matters for Divi Users

If you’re building with Divi, you’re likely pushing it further than the average WordPress site. Between WooCommerce, ACF fields, and custom post types, performance can take a hit. Transient caching helps you claw some of that speed back without sacrificing features or design.

We built this because you asked for it, and it’s just the first step in providing our users with the fastest filters possible in Divi.

Ready to Try It?

Update your plugins today and see the difference.

And if you haven’t tried our filters yet, check out:

We are super excited to bring this feature to you, so go tell your neighbor, friends, and heck, even your momma! Here’s to faster filtering and happier visitors – as always, let us know what you think!

Explore more from Divi Engine