I think this has problem come up before but I’ve searched online for a while and unable to find an exact solution so far. I believe it’s a caching issue/conflict with one of my plugins as everything looks fine when I’m logged in, but when I publish a new blog post it takes a while for it to appear on my homepage for visitors.
I’ve also made custom pages with categorised feeds of blog posts. These pages (particularly the sliders at the top of the page), break as well as the style/design of the page when a new post is published.
I have Autoptimize installed and clear the cache and then purge the cache from Cloudflare which seems to resolve the issue after some time has passed, but this is not an ideal solution long term for every new post or update I make on my site. Autoptimize optimises the JSS, HTML and CSS and I’ve turned this off in CloudFlare, but I figure there may still be a conflict?
I also disabled the WP Super Cache plugin today as I wasn’t sure if this was what was causing the issue with Cloudflare as I’ve set it to simple cache (Cloudflare Cache I’ve set to Standard and TTL 4 hours), but unfortunately my newest blog post (published yesterday) just shows a page of code now when you click on it. I’ve reverted to enabling WP Super Cache as disabling it has obviously only made the problem worse.
Any advice is much appreciated as I’m not the most technical.
Thank you very much!