How To Check If Your Site Needs Persistent Object Cache

How To Check If Your Site Needs Persistent Object Cache Hero Image
How To Check If Your Site Needs Persistent Object Cache Hero Image

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. In the case of my test website, I see the a “not required”.

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.

But for most high traffic websites, particularly if it is a dynamic site, you will see need it. Lets move on to that.

Congratulations, you can speed up your site! But it may take a bit to do this. We use Redis to provide object caching for WordPress. It is found on our cPanel VPS, cPanel Dedicated Servers and our Platform i WordPress VPS. Our Guide to add Redis is here. Redis is already installed on your Platform I VPS. You will just need to enable Redis Object Caching with Total Cache or your favorite caching Plugin.

Share this Article
InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting