My site seems to be...
 
Notifications
Clear all

wpForo 1.x.x My site seems to be loading slower since the recent update.

95 Posts
5 Users
27 Likes
4,528 Views
Macky
Posts: 956
Topic starter
(@percysgrowroom)
Noble Member
Joined: 3 years ago

SELECTย SQL_NO_CACHE COUNT(*)
FROMย `wp_3cy42zznwz_wpforo_posts`

Does thjis mean anything to anyone? Maybe its all not being cached properly so all files are being recalled each time some one logs in or something?

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

Support Team
Posts: 9715

@percysgrowroom,

This SQL exists from first versions of wpForo. It just returns the number of posts for statistic purpose. In any case, if you want to test it, you can open the /wp-content/plugins/wpforo/wpf-includes/class-posts.php file, find this line:

$sql = "SELECT SQL_NO_CACHE COUNT(*) FROM `".WPF()->tables->posts."`";

and change it to this:

$sql = "SELECT COUNT(*) FROM `".WPF()->tables->posts."`";

ย 

Reply
Page 8 / 8
Share: