Slow frontpage, posible database problem
-
Hi guys,
For some time i have a problem with slow loading time of the front page of my site https://opserver.mk/ (post loading is ok). I checked everything that i could find on the internet, but could not find the source of the problem. I’ve installed everything from the beggining including a new theme, but after importing database tables post and post meta, the front page could not be loaded. I reduced the number of content to the last 150 days with a code and the site is working now but the front page is again slow.
I used this code to reduce the number of posts:
delete from wpqg_posts
where datediff(now(), wpqg_posts.Post_Date) > 150;SELECT * FROM wpqg_postmeta pm LEFT JOIN wpqg_posts wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL;
DELETE pm FROM wpqg_postmeta pm LEFT JOIN wpqg_posts wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL;When i test the page on https://gtmetrix.com/reports/opserver.mk/aiW87Qxl/ i noticed this:
https://opserver.mk/wp-content/uploads/2023/02/problem.jpg
How to find out what is causing that second request and why is so long?!
Tried to turn on slow_query_log with this code, but i don’t have the privilages:
mysql> SET GLOBAL slow_query_log = 1;
Somehow everything is pointing to think that there is some query to the database that it need long time to finish….
The page I need help with: [log in to see the link]
- The topic ‘Slow frontpage, posible database problem’ is closed to new replies.