How to Enable Persistent Object Cache on WordPress (2024)

Is your WordPress Site Health status showing you the recommendation, “You should use a persistent object cache“? and you want to fix this issue? You’re in the right place.

In this tutorial, I will guide you step-by-step on How to enable persistent object cache on WordPress and How to install APCu Manager plugin. APCu is a PHP extension used to improve the speed/performance of a website.

APCu Manager offers a persistent object cache backend to WordPress. It is a complete APCu management and analytics reporting tool that enables you to monitor and optimize APCu operations on your WordPress website.

Below is the complete description about using the “Persistent Object Cache” on WordPress Site Health status. It is also providing information about which object caching services does your web host support like here it is suggesting APCu object caching service.

A persistent object cache makes your site’s database more efficient, resulting in faster load times because WordPress can retrieve your site’s content and settings much more quickly. Your hosting provider can tell you if a persistent object cache can be enabled on your site. Your host appears to support the following object caching services: APCu.

Following topics will be covered in this tutorial:

  1. How to Enable Persistent Object Cache on WordPress
  2. How to Set Up APCu Manager on WordPress

RELATED

  • HowTo Pass Core Web Vitals Test for Monetized WordPress Blog
  • How to Remove Lazy Loading on Featured Image in WordPress

01. How to Enable Persistent Object Cache on WordPress

The Object Cache on WordPress is enabled via Caching plugins. Here, I am guiding you on how to enable Object Cache on LiteSpeed Cache. If you are using W3 Total Cache, WP Rocket, WP Super Cache, etc, read their documentation to enable Object Cache.

  • Go to LiteSpeed Cache from the Sidebar.
  • Click Cache.
How to Enable Persistent Object Cache on WordPress (1)
  • Open the Object tab.
  • Turn on the Object Cache.
How to Enable Persistent Object Cache on WordPress (2)

Now you won’t see “Persistent Object Cache” recommendation on your WordPress Site Health status. For confirmation check the Site Health status again.

On the Object Cache Settings, you can also see two object cache extensions i.e. Memcached & Redis. Though you can enable them from your cPanel account, but they don’t work (connect) on Shared Hosting. They only work on VPS Hosting and Dedicated Server Hosting.

These articles may help you to connect & set up Redis Object Cache on WordPress, if it is supported by your web host:

How to Enable Persistent Object Cache on WordPress (3)

02. How to Set Up APCu Manager on WordPress

In this section, I will guide you step-by-step on how to set up APCu Manger on WordPress.

01. Enable APCu PHP Extension on cPanel

First of all make sure that your APCu PHP extension is enabled on your cPanel account.

  • Login to your cPanel account and go to SOFTWARE section.
  • Click the Select PHP Version.
How to Enable Persistent Object Cache on WordPress (4)
  • On the Extensions tab, go to PHP extensions start with A. It will help you to quickly find the APCu PHP extension.
  • Tick on the apcu to enable. If it is already enabled, don’t do anything.
How to Enable Persistent Object Cache on WordPress (5)

02. Install and Set Up APCu Manager Plugin

The APCu PHP extension is enabled, now I will install and set up APCu Manager plugin.

  • Go to Plugins from the Sidebar.
  • Click Add New.
How to Enable Persistent Object Cache on WordPress (6)
  • In the Plugins Search Bar enter APCu Manager. The plugin will be listed on the search results.
  • Click the Install Now button.
How to Enable Persistent Object Cache on WordPress (7)
  • Click the Activate button.
How to Enable Persistent Object Cache on WordPress (8)
  • The plugin will appear on the sidebar with the name PerfOps One.
  • Click on the Control Center to set up APCu Manager settings.
How to Enable Persistent Object Cache on WordPress (9)
  • On the APCu Manager click Settings button.
How to Enable Persistent Object Cache on WordPress (10)
  • Tick the Object Cache, Garbage collector, Analytics, Quick Actions, and Resources (Use Public CDN to serve stylesheets and scripts).
  • Click the Save Changes.
How to Enable Persistent Object Cache on WordPress (11)
  • It will show you a message, “Plugin settings have been saved. APCu Manager is now the WordPress object cache handler“.
How to Enable Persistent Object Cache on WordPress (12)
  • To view the Analytics of APCu i.e. Key performance indicators and activity metrics for your website, go to PerfOps One and click Analytics.
  • Click APCu.
How to Enable Persistent Object Cache on WordPress (13)
  • This is the APCu Analytics page. You can view Hit Ratio, Free Memory, Objects, Keys Saturation, Fragmentation, Availability, Memory Usage, and Metrics Variations.
  • A Hit Ratio is a calculation of cache hits. It means a measurement of how many content requests APCu Object Cache is able to deliver successfully, compared to how many requests it receives. The cache hit ratio should be high.
How to Enable Persistent Object Cache on WordPress (14)

Conclusion

So it was all about enabling persistent object cache and setting up APCu Manager on your WordPress website. Once you’re are done, measure how much impact it has added to the performance of your website.

If you like this post then don’t forget to share with the other people. Share your feedback in the comments section below.

Also Read

  • How to Enable Optional Module Imagick on cPanel | WordPress
  • 403 Forbidden Access to this Resource on the Server is Denied!
  • How To Compress Content Using Optimize Website In cPanel
  • Fixed: Updating failed. The response is not a valid JSON response

How to Enable Persistent Object Cache on WordPress (15)

Meer Basit

Meer Basit is the founder of Meer’s World. He’s been running the show since launching the blog back in 2018. By background he is a computer scientist. Primarily, he creates content around blogging (WordPress, Blogger, Tumblr), SEO, affiliate programs, earn-online, & eCommerce. In general, he likes traveling, gardening, watching movies, is a passionate cricketer, creative writer, and a GSD lover.

How to Enable Persistent Object Cache on WordPress (2024)

References

Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 6769

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.