-
Hello,
I’m using Rank Math and W3TC with standard page cache.
When I edit a post W3TC purge the cached version of the edited post (expected behavior), but after this Rank Math force a complete purge of all the caches.How do I prevent RankMath to interfere with the page cache?
Atteched the stack traces:
Thnaks!
Date Tue, 27 Apr 2021 17:36:54 +0000 Action flush_post(20283) Stack Trace #0 wp-includes/class-wp-hook.php(289) W3TCPgCache_Plugin--w3tc_flush_post (20283) #1 wp-content/plugins/w3-total-cache/CacheFlush_Locally.php(156) do_action ("w3tc_flush_post", 20283, null) #2 wp-content/plugins/w3-total-cache/Util_AttachToActions.php(93) W3TCCacheFlush--flush_post (20283) #3 wp-includes/class-wp-hook.php(289) W3TCUtil_AttachToActions--on_post_change (20283) #4 wp-includes/post.php(3986) do_action ("pre_post_update", 20283, {"post_author":1,"post_date":"2020-03-19 11:40:00","post_date_gmt":"2020-03-19 10:40:00","post_con..) #5 wp-includes/post.php(4354) wp_insert_post ({"post_author":1,"post_content":".!-- wp:image {\"id\":20284,\"sizeSlug\":\"large\"} -.., false) #6 wp-admin/includes/post.php(419) wp_update_post ({"ID":20283,"post_author":1,"post_date":"2020-03-19 11:40:00","post_date_gmt":"2020-03-19 10:40:00..) #7 wp-admin/post.php(227) edit_post ()
Date Tue, 27 Apr 2021 17:36:56 +0000 Action flush_all Stack Trace #0 wp-includes/class-wp-hook.php(287) W3TCPgCache_Plugin--w3tc_flush_posts (null) #1 wp-content/plugins/w3-total-cache/CacheFlush_Locally.php(166) do_action ("w3tc_flush_posts", null) #2 wp-content/plugins/w3-total-cache/w3-total-cache-api.php(249) W3TCCacheFlush--flush_posts (null) #3 wp-content/plugins/w3-total-cache/w3-total-cache-api.php(277) w3tc_flush_posts () #4 wp-content/plugins/seo-by-rank-math/includes/class-helper.php(234) w3tc_pgcache_flush () #5 wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-cache.php(220) RankMathHelper--clear_cache () #6 wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-cache-watcher.php(324) RankMathSitemapCache--invalidate_storage ("1") #7 wp-includes/class-wp-hook.php(287) RankMathSitemapCache_Watcher--clear_queued ("") #8 wp-includes/load.php(1007) do_action ("shutdown") #9 () shutdown_action_hook ()
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
The ticket ‘W3 Total Cache, upon edit post Rank Math purge all the caches’ is closed to new replies.