• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Is Persistent Object Cache Mandatory to Enable in WordPress

By Abhishek Ghosh May 17, 2023 5:21 pm Updated on May 17, 2023

Is Persistent Object Cache Mandatory to Enable in WordPress

Advertisement

No. Object Caches such as APC, Memcached or Redis are not mandatory to enable in WordPress by using a WordPress plugin or drop-in. We are talking in the context of dedicated servers. A persistent Object Cache is worthless to use on a single virtualized instance such as one VPS or one cloud server. The reason is that 100% of the RAM is not real RAM, there is swap space i.e. SSD space.

When you install and enable APC on the server, it already caches some of the PHP files. You do not need to further “augment” it by using a WordPress plugin unless your traffic load is quite higher.

 

What Persistent Object Cache Does?

 

An object cache copies the objects that are used often and deliver to the visitors. An object cache stores database queries which can speed up PHP execution times and reduce the load on MySQL database server, and can deliver content slightly faster.

Advertisement

---

This is useful for high-traffic sites, such as YouTube and only when correctly configured to preserve the dynamic functions of the programming language such as visitor tracking. This is useful even for ordinary WordPress sites but often single webmasters are unable to detect and address the smaller issues such as wrong reporting of traffic data.

Persistent object caching is one step more. It is not just the object cache. You’ll get the information here:

Vim
1
https://developer.wordpress.org/reference/classes/wp_object_cache/

 

Is Not MySQL Cache Serves the Same Purpose?

 

The cache of MySQL/MariaDB is efficient for low-traffic to medium-traffic sites. The method to optimize the backend for high-traffic sites is different because in such cases we need to have multiple MySQL database servers. For multiple reasons, MySQL cache is not efficient or practical for high-traffic sites. MySQL/MariaDB cache is safe for low-traffic to medium-traffic sites.

 

Can I Use MySQL Cache and Persistent Object Cache Together?

 

That can result in inconsistent performance since they are not synced or logically arranged to work together. Larger sites may employ various methods of caching together simply because they have their IT team to optimize their server and sites. With general-purpose commodity WordPress plugins, enabling 3-4 types of caching methods can deliver undesired results.

Stick with 1-2 methods of caching and use a good CDN.

 

Should We Enable Persistent Object Cache in WordPress?

 

If you turn on WP-CACHE on the WP-Config file, you’ll find the advanced-cache.php in the wp-content directory. This is how the WordPress internal cache system is set up. For WordPress plugins such as WP Super Cache, an advanced-cache.php is automatically created. If your server already has APC, OPcache and MySQL cache enabled, for a low-traffic site, you do not need to install ANOTHER plugin for persistent cache support. That can confuse the total system. For a high-traffic site, instead of reading this guide, you should rely on the experts you have hired for your site.

Is Persistent Object Cache Mandatory to Enable in WordPress

 

Can Using Persistent Object Cache in WordPress Break My Site?

 

The object cache setup on server is required and will not harm. The phrase “Persistent Object Cache” is not exactly the same thing.

Commonly people use a combination of different types of caching. That eventually create odd sort of problems. APC (we are talking about persistent cache) will not break the site but can make the WordPress admin functions behave oddly. Certain plugins (such as syntax highlighter), and certain tools such as post editor may not properly work. Live data on the front end may not show correctly.

It is unusual for APC to disturb when it is just installed on the server (that is object cache). But when you integrate with the plugin (that becomes Persistent Object Cache), it demands advanced configuration of PHP files to exclude some parts from getting cached. Memcache, and Redis all can have different kinds of issues which require an experienced person to set up. Probably not all the plugins are “compatible” and bare Javascripts may dysfunction. Furthermore, WordPress documents mentions only Redis, Memcached and SQLlite, not APC. Some of the drop-ins are 8-9 years old.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Is Persistent Object Cache Mandatory to Enable in WordPress

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How To Install APC on PHP 7.2 (Ubuntu LAMP Server)

    APC is an Important Part For WordPress Like Web Software to Speed Up. Here is How To Install, Configure APC on PHP 7.2 on Ubuntu LAMP Server.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • MySQL Persistent Connection to Optimize WordPress

    MySQL Persistent Connection can be used to Optimize WordPress Page Loading Speed. It depends on server configuration, otherwise performance will degrade.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Desktop Publishing (DTP)?June 3, 2023
  • Dynamic WebP Image Delivery in WordPress with Bunny CDNJune 3, 2023
  • Advantages and Disadvantages of Ubuntu Server DistributionJune 2, 2023
  • Typography on the WebJune 2, 2023
  • How to Use JuliaMono Font in Urvanov/Crayon Syntax HighlighterJune 1, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT