Notifications
Clear all

wpForo 1.x.x [Closed] Number of queries in admin

4 Posts
3 Users
3 Reactions
2,342 Views
antonM
Posts: 131
Topic starter
(@antonm)
Estimable Member
Joined: 8 years ago

Hi Robert!

Could you please review a queries in admin? I very often work in admin area and found that on each loaded page wpForo generates 50 queries. Is it possible to make wpForo relevant queries only on pages which are needed for wpForo?

Thank you.

3 Replies
Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi antonM

Ok, we'll check this.

Posts: 112
(@veganostomy)
Estimable Member
Joined: 8 years ago

Using Query Monitor, I also notice at least a dozen queries from WPforo regardless of the page I'm on - in the actual forum I'm getting over 500 queries from WPforo on a single page.

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Thank you for letting us know VeganOstomy

At the moment wpForo has about 10 queries in non-forum pages and posts (w/o addons). Please don't forget that on other posts and pages maybe loaded wpForo widgets so some of queries need to be performed before loading them. It's not always possible to check widgets existence before executing general queries.

There are also online user status updater queries and cache queries. However we can do lots of optimization here too. This is already in our to-do list.