How To Check If Your Site Needs Persistent Object Cache

In this article, you will learn about a special type of web storage system known as a persistent object cache. It’s a way to store frequently requested parts of your site as “objects” that can be quickly recalled from system memory to save on resource usage. Read on to learn more and how to find out if your site can benefit from this kind of storage system.

What Is A Persistent Object Cache?

Not all sites may require, or even benefit from, a persistent object cache.

A persistent object cache can provide significant performance improvements for large sites with lots of visitors. It works by storing frequently requested resources (objects) in system memory. This way, your site does not need to invoke PHP and MySQL every time a request is made or part of a page (like the comment section) is updated.

Redis and Memcached are two of the most popular persistent object cache tools, and both of them can be configured to work well for WordPress.

How To Check If A Persistent Object Cache Is Required

The performance lab plugin for WordPress runs a check on your site to see if it would benefit from a persistent object cache.

With this module enabled, you will be able to access your site health status and see whether or not your site needs to update its caching to something with more power.

Follow the steps below to check your server support:

  1. Log in to the WordPress dashboard
  2. Click the link for the site health screen
    Click the link for the site health screen
  3. Wait a moment for the modules and checks to finish loading
    Site health loading good
  4. Scroll down to passed tests and unfold the contained dropdown list

You should see the health check marked with a performance tag:

If your site does not require persistent object caching, but you still want to perform some kind of caching to improve performance, then you may want to simply install a plugin like W3 Total Cache. This plugin can store static versions of dynamic pages, minify code, and provide other advanced features that may help speed up your site.

CM
Christopher Maiorana Content Writer II

Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.

More Articles by Christopher

4 Comments

    • Hello Kamila – the article tells you how to do that using plugins. Otherwise, if you’re not using WordPress, then you will need to look for Redis Caching. Documentation can be found here (https://redis.io/docs/manual/client-side-caching/)

  • So if Site Health reports “You should use a persistent object cache,” how do we set that up at InMotion Hosting?

    • Thank you for reaching out. Persistent “object cache” would be specifically available on VPS or Dedicated servers. But keep in mind that our WordPress hosting plans include NGINX, which is page caching instead of object caching, but can also improve site performance.

Was this article helpful? Let us know!