nik Posted September 6, 2021 Share Posted September 6, 2021 (edited) My online shop is using a couple of menu addons, called JMSMegaMenu and JMSVerticalMenu. These came with the theme I have been using since day one, also from JMS. I ran a profiler for diggint into some performance issue and I discovered following: For every page request, the 2 addons run an identical sql query 456 and 231 times accordingly (once for every single menu item and subitem of the shop), inorder to fetch the names of the menu items. I'm wondering if this is a good practise for Menu Addons and such an amount of double queries is normal, or if I am using an extremely badly designed addon. I assume that this behaviour is stressing our the respective SQL tables, which highly affects the performance, and especially the TTFB, which I am having issues with. Thanks in advance, Nikos Edited September 6, 2021 by nik (see edit history) Link to comment Share on other sites More sharing options...
nik Posted September 9, 2021 Author Share Posted September 9, 2021 upping the topic Link to comment Share on other sites More sharing options...
nik Posted October 1, 2021 Author Share Posted October 1, 2021 anyone? Link to comment Share on other sites More sharing options...
Prestachamps Posted July 4, 2022 Share Posted July 4, 2022 Hello, It seems that the first query is for the Mega menu, and the second one is for the vertical menu module. They are separate modules, and because of this doubles the query. But running the same query 456 and 231 times to get only the name of the menu items means that the modules are designed badly. What you can try is to contact the module/theme developers and ask them to optimize the module/theme for you, or try a better-optimized module. Have a nice day, Leo. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now