Browser: Chrome 110 OS: macOS / Windows / Linux / etc. URL: See below.
Large menus, for example Woocommerce category menues, results in page taking ages to load when the nav element is placed within the dropdown element. Page loads ok when the same nav element is placed outside the dropdown element. Tested on several sites with the same result.
PHP 8.1.13, all Bricks system values ok.
Example pages with Woo Category menu inside, and outside dropdown below. Menu got 200 categories.
Would you be so kind as to send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?
Hey,
Yes, the login has arrived - please keep it active. We didn’t have enough time to review it due to the 1.8.2 release, but we’ll get back to you as soon as we know more
Thank you, that seems to work great! Is it a Bricks related issue, or something I have caused myself? If Bricks related, is your fix something i can apply to other sites until there is a bug fix?
Yes, the issue coming from the Bricks Nav Menu element.
Unfortunately, I will not recommend you apply this to other sites as it’s not an official solution yet.
Please wait for the final release that fixes this issue by checking the changelog.
We will also update this forum thread as well
Sorry my late reply! I’m afraid this is not solved. The performance is better, but still an issue I was experiencing an overall slow page loading, and narrowed it down to be the menu again. Using Query Monitor I found the dropdown menu with Woocommerce categories to trigger a whopping 1258 queries, causing 0,6s+ extra load time for my page… removing the woocommerce categories dropdown menu solves the issue.
Tried building a page with the same menu inside a normal nav element, and the query count is below 60. Seems to be a loop problem of some kind related to the dropdown element. Can you have another look at it?