Nope... can't have it both ways. Can't have a page be cached at the network edge and also make the request go to your origin server. The whole point of guest page caching is to make the site fast and the request not need to go to your server. And with your server not seeing the request, it doesn't know how many times it was seen in cache.Is there any way to fix thread view counters when page is cached?
Unless there was some weird way to put the counter on the edge and pull it down later..Nope... can't have it both ways. Can't have a page be cached at the network edge and also make the request go to your origin server. The whole point of guest page caching is to make the site fast and the request not need to go to your server. And with your server not seeing the request, it doesn't know how many times it was seen in cache.
Honestly, I think thread view numbers (along with a lot of other things like members online) is pretty dated/pointless these days. Who cares how many users are on the site or how many times a thread has been viewed? At least not for end users... site owners/admins sure... but you have things like Google Analytics (or whatever else) for that.
More effort than it’s worth, imo. I’d be more inclined to spend time removing thread view counters from XenForo (I mean if I had to pick one or the other based on value).Unless there was some weird way to put the counter on the edge and pull it down later..
But shouldn't a successful community know how many people have read something? Unless the counters are not accurate, than yeah not needed... I'm thinking about it now and the real number may be so inaccurate that I would like the option to remove it if possible. I am not sure what to do.More effort than it’s worth, imo. I’d be more inclined to spend time removing thread view counters from XenForo (I mean if I had to pick one or the other based on value).
Ya, but the counters (even without guest page caching) are inaccurate). It's based on an HTTP request, not a human being viewing the thread... so the counters are including bots and spiders. Probably not super useful at that point when it's possible most of the "views" are by non-humans to begin with.But shouldn't a successful community know how many people have read something? Unless the counters are not accurate, than yeah not needed... I'm thinking about it now and the real number may be so inaccurate that I would like the option to remove it if possible. I am not sure what to do.
It is used if someone is sorting a forum by Views (does anyone do that though?)… not sure on the Trending Widget, never used it or looked into it.But aren't views themselves used for sorting AND even maybe the Trending widget.. what would a full stack transition for Google Analaytics data for this logic represent...
We use essential cookies to make this site work, and optional cookies to enhance your experience.