Cache Issue - Most recent blog posts not showing to everyone


#1

Hey CloudFlarers!

Hope you are all well :slight_smile: I would really appreciate your help with this issue!

I use CloudFlare and also the Cloudways Breeze plugin on our website www.teamprofit.com.

The issue is that we have blog posts which we update each week, where the url stays the same each week (e.g.this blog post https://www.teamprofit.com/selections we update every Monday and Friday with new selections). However, some visitors do not see this updated content and instead see the old content when they visit the url.

So it sounds like our website has a caching issue.

The blog is: https://www.teamprofit.com/matched-betting-blog

When I spoke to Cloudways support, they said that the caching is being done by CloudFlare:

This sounds correct, as on the very rare occasion the website is down, the most recent cached version of the site is shown by CloudFlare. My current CloudFlare cache settings are:

Do you have any suggestions over changes I could make to any settings or any tests I should run, to help identify the problem and correct it?

Many thanks if you could help!


#2

Do you have a Cache Everything rule under Page Rules?


#3

Hey @DimitrisT thanks for your reply!

I do not have any Page Rules set up:

“You do not have any Page Rules yet. Click ‘Create Page Rule’ above to get started.”

Hope that helps and any questions please let me know :slight_smile:

Thanks again!


#4

Without a “Cache Everything” Page Rule, Cloudflare only caches specific file extensions: https://support.cloudflare.com/hc/en-us/articles/200172516-Which-file-extensions-does-Cloudflare-cache-for-static-content

That leaves browser caching: https://support.cloudflare.com/hc/en-us/articles/200168276-What-does-the-Browser-Cache-Expiration-do-

Either your web site or Cloudflare has set browser caching too high. You could configure your .htaccess to have high browser caching for static files such as images, and low caching for HTML.


#5

Great thanks @DimitrisT very helpful I’ll look into these articles, thanks again!