Describe your issue or idea
When I upgraded a site from Drupal 6 to Backdrop CMS, I noticed front-end pages getting sluggish, while the back end stayed quick and snappy. When removing the menu block, the front-end of my site was also quick and snappy.
After much further digging (thanks the devel query log!) I have tracked the problem down to the function menu_tree_check_access()
which adds an additional 1141 database queries to my page.
It's true - my menu tree is quite large. I still think there's something we could do to speed this up. I don't see why these queries need to be run uniquely for every visitor on every page of my site - when the links are the same on every page.
Recent comments
Egmund, Thank you for sharing the information. I’ve installed the code, but I’m a bit confused about how to use it. I apologize for asking what might seem like a very simple question, but...
Creating Footer columns
That function also exists in Backdrop so it might be something else going on. https://github.com/search?q=repo%3Abackdrop%2Fbackdrop%20image_gd_create...
imagecolorsforindex(): Argument #2 ($color) is out of range
I did some searching and learned that this is a known problem with some GIF images. The Drupal 7 api docs show that there is additional code in image_gd_create_tmp.inc to check for this case and...
imagecolorsforindex(): Argument #2 ($color) is out of range