Based on logs and APM reports, the slowest transaction from my site’s database transactions:
The slow performance is caused by tagDiv’s Newspaper theme’s AJAX requests to /wp-admin/admin-ajax.php for features like live search, lazy loading, infinite scroll, and trending articles, leading to high database query loads and increased server resource usage.
Could you please confirm if we could disable AJAX-Based Features from this?
Hi,
To improve your performance, I recommend using Redis Cache and, if possible, upgrading to PHP version 8.0 or 8.1 and then checking again.
Additionally, if there are no improvements, you should disable Live Search, Infinite Scroll, Infinite Load, and Infinite Scroll.
Also, you can try to activate this option on the blocks https://forum.tagdiv.com/use-flex-blocks-cache-option/
Also, please let me know what sort of options you use on the blocks.
Thank you!
Hola @anamaria!
Thanks for the info, unfortunately this doesn´t answer my questions.
1) I´m using Redis Cache and upgraded PHP already.
2) I´ve disabled Live Search, Infinite Scroll, Infinite Load, and Infinite Scroll.
3) Also, blocks have all caché activated.
4) For block I use latest.
Main concern is that based on logs and APM reports, the slowest transaction from my site’s database transactions.
Please, pay specific attention to the fact that the slow performance is caused by tagDiv’s Newspaper theme’s AJAX requests to /wp-admin/admin-ajax.php leading to high database query loads and increased server resource usage
Could you please confirm if we could disable AJAX-Based Features at theme level and what else I can disable or enable to improve performance?
Hello,
I analyzed the website and the only remaining AJAX requests are from the mobile search and the pagination in the tag template -> https://prnt.sc/2fmsr5tFbG28 -> https://prnt.sc/fzWyhfdBj6ij If you want, you can also disable the live search on mobile. Other than these two, I haven’t seen any others.
I also noticed that you have multiple blocks in these two sections —> https://i.imgur.com/Q8HvFIo.jpeg -> https://i.imgur.com/vT33C1X.jpeg their number be reduced, or do you have custom filtering for each block?
Thank you!