RT 6.0.3 Invisible spinners for loading consume a lot of CPU

Hi All,

I noticed when RT 6.0.3 is on the active tab and checking the CPU load of the tab, There is a constant usage depending on how many htmx widgets are loaded.
After investigation, I noticed that the cause of this is loading spinners that are running in the background (invisible).
By using the console command: document.querySelectorAll(‘#hx-boost-spinner, .htmx-indicator, animate’).forEach(el => el.remove());
All the CPU load is gone and RT works like a charm.
Please make the spinners less CPU heavy :wink:

Greetings,
Nick

Hi Nick,

There is a branch to address this!

Hi knation,

Good catch, I added the code into our env and it solved the issue. Many CPUs love this already.
Thanks!!!

Nick