Floating menu takes extra time to build up

For Logic Pro, I run a large Floating Menu with around 140 buttons on a separate monitor. It only pops up when Logic is the frontmost app. Now when switching to Logic there has always been a little lag for the menu to build but it didn't hold up the workflow.
Now since 1-2 months the delay has increased to 1-2 secs and during that time, Logic is not responsive. In an attempt to decrease load of the menu I shrinked the buttons containing JPEGs (around 25 of them, the rest is text only) to around 20kb but that doesn’t seem to make a difference. Any ideas?

Sequoia 15.3, BTT 5.199, MacBook M4

Would you be able to share that menu with me again (andreas@folivora.ai)? Or does it contain sensitive data?

If you can share it I can check what is taking long, it should be instant (at least after it has loaded once), so this is definitely a bug.

I think I can reproduce the issue with one of my own menus now, I'll try to fix it!

Wow, you are fast, thanks!
I've shared the menu with you in a dm

ah perfect, thanks!

@HansW could you check whether 5.224 (uploading) improves things?

I think I didn't receive your menu yet (maybe it was too big to attach?) so I only tested with one of my menus.

This changes some bigger parts of the caching mechanism, it will need to be seen whether this breaks any existing behavior. If you find anything weird please let me know.

Sorry @Andreas_Hegenberg I sent the preset to the noreply-email adress.

I'm happy to tell you that the new Alpha version works like a charm: my Floating Menu does appear almost instantaneous now, faster than ever. Thanks for the great support!

@hansw due to some complications the full caching is now optional in 5.253, for large menus like yours you'd need to activate it here:

Highly appreciated @Andreas_Hegenberg , it's just a bit faster now