I have a WordPress blog with W3 Total Cache plugin with the extension Cloudflare installed. I have a Pro plan in Cloudflare and also have the Cloudflare plugin installed.
Frequently, when I update a page or post and purge cache, the new version of the page cached by Cloudflare contains the admin bar and links, which would be visible only to logged in users (ie: WordPress administrators). This behavior is giving me headaches, because it is not possible to forecast which pages will be cached this way.
Also, the admin links of WordPress are appearing in Google Search Console as 404 links (which is expected, since a regular visitor cannot access a link to edit a page or post).
I have some page rules in place, but I am not sure if they are related to the problem. My guess is that, when I purge the cache, Cloudflare gets a logged version of the page (because I, as WordPress admin, visit the page with the administrator links just after update the page and purge cache).
Does anyone is facing similar issue? Could you guys please provide some insights on that matter?