My site seems to be...
 
Notifications
Clear all

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

95 Posts
5 Users
27 Reactions
7,898 Views
Posts: 1212
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 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?

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

Support Team
Posts: 10591

@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."`";

 

Page 8 / 8