Jump to content

Cloudflare & Article/Topic View Counts


Recommended Posts

Posted

Hi guys,

 

I'm using Cloudflare on our IPS community and I think it's impacting the view counts of articles and topics due to caching.

If I understand correctly, it loads the page from our server then sends it out to multiple people. However, because it only loads it once and then sends it to multiple people, the view count only goes up by one for the article or topic.

Is this correct? If so, is there any way to remedy it? Or perhaps remove view-counts altogether?

 

Thanks!

Posted

I think Cloudflare's rail gun or extending caching to dynamic content (through page rules) can present such an issue. But by default Cloudflare only caches static content. I'm using OPcache and Memcached, plus Cloudflare, I wouldn't even know where to begin if caching became the issue. I take it "guest caching" in IPS' admin cp could also contribute to this issue. How often are view counters updated? Are they supposed to be updated instantly?

  • 1 month later...
Posted
On 7/20/2018 at 6:52 PM, HanMan5000 said:

Bump. :S

I have been using cloudflare on our site for years with no issues with the counts, but we recently moved to Redis caching a few weeks ago and that broke the counts. By any chance are you using redis? 

Posted
22 hours ago, maddog107_merged said:

I have been using cloudflare on our site for years with no issues with the counts, but we recently moved to Redis caching a few weeks ago and that broke the counts. By any chance are you using redis? 

Nope, still cloudlflare ?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...