#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Views counter not u...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] Views counter not updating with cache enabled

    Last Post
RSS

danniee
Posts: 159
 danniee
Topic starter
December 8, 2021 10:24 am
(@danniee)
Estimable Member
Joined: 3 years ago

Hi,

I feel compelled to ask about this. With object cache enabled, forum views will never update unless you update the thread by commenting on a post. So if you lock a thread, for example, views will never again increase. This, of course, looks very bad and gives a false image of your forum as being less active than it is.

I understand that, by deactivating object cache, views will update on the fly whenever someone visits the thread - just like it works on all other forums (phpbb, invisionboard, etc). For most of us, anything that has the word cache on it automatically becomes very important to us so we feel the need to activate it. But, as a consequence, it breaks the views function.

So my question is. What is the difference between, let's say phpbb and wpforo in terms of cache? Why doesn't phpbb or any other forum software need object cache and wpforo does? Is it because Wordpress by default is much slower?

Just looking to understand the situation and whether I need object cache or not. Both cache and correct stats are important to me, Thank you.

Topic Tags
view count topic views
4 Replies
Robert
Posts: 9090
Robert - Twitter
 Robert
Admin
December 8, 2021 10:38 am
(@robert)
Support Team
Joined: 6 years ago

@danniee,

It does register the views and the counting is being done in the database,ย  but it doesn't update the numbers on the topic list in real-time, it'll show the new number once some action is done, so it'll be updated automatically, you don't need to reset cache every time. Please keep enable the wpForo Object Cache and let it updating whenever the cache is reset to make the forum light and fast. Counting of each topic views on every page load is not a good idea, and it affects the performance.

Please read this topic: https://wpforo.com/community/how-to-and-troubleshooting-2/very-misleading-view-count-not-accurate/#post-43267

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

danniee
Posts: 159
 danniee
Topic starter
December 8, 2021 10:45 am
(@danniee)
Estimable Member
Joined: 3 years ago

Hi Robert and thank you for replying.

I do understand how it works but even though the info is saved in the database, the info displayed to the visitor is not correct. I have a thread right now that gets loads of visits. But unless someone comments, the viewer count does not update. So it went from 1000 views to 1400 views when someone commented. It's quite a jump.

What I am curious about is, how does phpbb or invisionboard handle it? Their views are updated on the fly and from my experience, there is no object cache needed there? Why cannot wpforo do it like they do? This is not meant as any criticism, I'm just curious. Is it because Wordpress is a slow platform or?

1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
December 8, 2021 10:49 am
Reply todannieedanniee

@danniee,

They spend more memory, for sure. Also, in most cases, they don't have smart counting feature to filter the viewers. They may count on every refresh. In any case, the wpForo counting system is the lightest way, it doesn't affect the memory. Please don't forget that you use WordPress, and it has already used lots of memory, so the plugins should be more accurate. phpBB and other forum softwares are stand-alone and can use memory without any worry.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

danniee liked
danniee
Posts: 159
 danniee
Topic starter
December 8, 2021 10:50 am
(@danniee)
Estimable Member
Joined: 3 years ago

I appreciate that answer. Thank you for explaining to me ๐Ÿ™‚

Edit: I just tested a competitors forum (invisionboard) and it wasn't all that fast tbh. My wpforo was much faster.

This post was modified 7 months ago by danniee
Chris and Robert liked
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • The number of views in the Threaded design layout, - incorrect
    4 months ago
  • Number for viwes on the forum page not showing on moble
    9 months ago
  • Readers Count not correct
    11 months ago
  • No viewers count
    12 months ago
  • Problema con el contador de visitas.
    1 year ago
Topic Tags:  view count (11), topic views (14),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo โ€“ Blog Cross Posting addon wpForo Ads Manager wpForo โ€“ WooCommerce Memberships Integration wpForo Emoticons wpForo โ€“ Tenor GIFs Integration
View all Addons ยป

Recent Topics

  • Suggestion How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 7 hours ago

  • Posts deleted in database still show up on front-end

    By nylex, 9 hours ago

  • Not all links are automatically added with the "nofollow" attribute

    By st7878, 12 hours ago

  • Editors assign users to groups

    By mike_netinfo, 14 hours ago

  • Set password link opens forum login page instead of set password page

    By JanJan, 14 hours ago

  • User banned for using icons?

    By JanJan, 15 hours ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • editor33
  • menu33
  • spam32
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2190)

Recent Posts

  • recover deleted forum categories

    hi I need help, I accidentally deleted categories and f...

    By Asmadi1, 6 mins ago

  • recover deleted forum categories

    hi I need help, I accidentally deleted categories and f...

    By Asmadi1, 6 mins ago

  • RE: Not all links are automatically added with the "nofollow" attribute

    I have no idea, i guess not.

    By dimalifragis, 42 mins ago

  • RE: How to make new user to get approve manually before creating post and profile.

    Thanks again

    By Adhyansh21, 4 hours ago

  • RE: Posts deleted in database still show up on front-end

    Ok then, wait until someone from wpForo support will he...

    By dimalifragis, 7 hours ago

  • RE: Set password link opens forum login page instead of set password page

    Hi @janjan, Go to Dashboard > Forums > Settings...

    By Chris, 12 hours ago

  • RE: Editors assign users to groups

    Hi @mike_netinfo, Only administrators can change user...

    By Chris, 12 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,933 Topics
50.2 K Posts
6 Online
47.9 K Members

Latest Post: recover deleted forum categories Our newest member: More Information On Succulents... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright ยฉ 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation