• Resolved p15h

    (@prestonwordsworth)


    This plugin’s function for purging (persistent) object cache, purge_object_cache(), doesn’t work with APCu-based backend. I’ll assume for now that this problem is peculiar to APCu and doesn’t affect other solutions like Redis/Memcached.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter p15h

    (@prestonwordsworth)

    We’ve identified Rank Math as the culprit that prevents purge_object_cache() (which calls wp_cache_flush()) from taking effect, though the precise reason is unclear to them. So switching to the more robust sitemap of WP Core immediately solves the problem.

    Plugin Contributor iSaumya

    (@isaumya)

    The purge_object_cache() function uses WP native wp_cache_flush() function. So, there is nothing that I can do. You might need to open a ticket with WP Core: https://core.trac.ww.wp.xz.cn/

    Thread Starter p15h

    (@prestonwordsworth)

    Yes, that’s correct – pls see my second post above 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘purge_object_cache() incompatible with APCu backend’ is closed to new replies.