Hello @johndbb
Thank you for reaching out and I am happy to help!
Are you using any SEO plugin? Can you please enable the Page Cache purge log and once the preview of the new page/article is done, check the purge log and let me know what is calling for a flush.
Thanks!
Hi again @vmarko If the capture is not enough please let me know. We can go to the pro version if needed. Thank you in advance.
Hello @johndbb
Thank you for your feedback. The log you shared is not showing everything.
Once the Post is previewed or published, the W3 Total Cache only purges the post/page URL and not all cache.
I’ve tested this with YOAST:
#0 wp-includes/class-wp-hook.php(310) W3TC\PgCache_Plugin--w3tc_flush_posts (null)
#1 wp-content/plugins/w3-total-cache/CacheFlush_Locally.php(170) do_action ("w3tc_flush_posts", null)
#2 wp-content/plugins/w3-total-cache/w3-total-cache-api.php(296) W3TC\CacheFlush--flush_posts (null)
#3 wp-content/plugins/w3-total-cache/w3-total-cache-api.php(329) w3tc_flush_posts ()
#4 wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php(418) w3tc_pgcache_flush ()
#5 wp-includes/class-wp-hook.php(312) WPSEO_Utils--clear_cache ({"tracking":false,"toggled_tracking":false,"license_server_version":"2","ms_defaults_set":false,"i..)
As you can see in the stack trace, the WP SEO plugin is calling w3tc_flush_all();
You can try This solution.
Let me know if this helps!
Thank you @vmarko. We will try your solution. Thanks a lot for your help.