AI Assistant
Notifications
Clear all

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

95 Posts
5 Users
27 Reactions
29.1 K Views
Posts: 1242
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@percysgrowroom)
Noble Member
Joined: 7 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: 2 months ago

Support Team
Posts: 10719
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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
Share: