Hi @fredel,
I’m not really familiar with Cloudflare (shocking, I know) but in general I guess you want Cloudflare to flush its cache at least once every 24 hours (if that’s a thing, I honestly don’t know).
Also, how did you come to the conclusion that Cloudflare is what’s causing the issue? (Honest question, I’m not doubting you).
Thread Starter
fredel
(@fredel)
Hey & Thanks for super fast reply again!
I think its Cloudflare (shame on you!! :))) because if i deactivate cloudflare (“bypass service”) then the counter is “correct” and counts way more views than if cloudflare is activated. looks like the requests “dont get through” maybe because of cloudflare cache preventing real requests. (i have no idea how this really works, shocking i know :).
So i think its cloudflare for sure (at least for me) and there must be any settings / rules changed at cloudflare – but i have no clue which that may be..
hope that helps? 🙂
Alright, then it’s most likely Cloudflare’s fault indeed 😛
There must be a setting somewhere in CF to set the page cache TTL (Time to Live). Make sure it’s set to 86400 seconds (24 hours) or less, flush CF’s cache (if that’s possible), then monitor the situation for a day or two to see what happens.
Likewise, if you’re using a caching plugin on your website (or if your hosting company provides their own page caching mechanism) make sure that it too expires roughly every 24 hours (or less).
Thread Starter
fredel
(@fredel)
hey & thanks,
for some reason flushing cache just helps until cache ist built again. (1 day or 2 :))
only if i deactivate cloudflare then the real request get through and are counted by the plugin.so i think cloudflare caches anything so that then the queries arent recognized.
do you have any idea what that may be? 🙂
thanks
No idea to be honest. I’d need to set up CF for my website and test myself. Can’t do that now though since I’m a bit swamped with work, maybe this upcoming weekend if time & family & life allow it 😛