Advanced Custom Fields Pro and Object Cache Compatibility

Last Updated -


Purpose

Advanced Custom Fields is a really useful plugin. However, it can conflict with one main performance enhancing feature - WordPress' Object Cache. They can't be used together, we'll explain why in this article...

Problem

The Advanced Custom Fields plugin disables persistent caching, as shown in the following function on line 30...

wp_cache_add_non_persistent_groups('acf');

While using an Object Cache boosts performance for your site, using this plugin with it enabled can cause inconsistencies and unexpected behavior. See more information about this issue here.

Solution

The decision is ultimately yours, you'll have to decide between one or the other...

If you choose Object Cache - It's our recommendation an alternative to ACF is used which works with the Object Cache.

If you choose ACF - You should contact Pagely support about disabling object caching on your WordPress application to ensure the site functions without issues.

Related Topics

Pagely is the Managed WordPress Hosting Platform designed to exceed the needs of media, business, and Enterprise customers alike. We help the world's biggest brands scale WordPress.

Copyright © 2006-2017 Pagely, Inc. All rights reserved.
Pagely® and WordPress® are registered trademarks.

Pagely
Powered by Zendesk