Long loading time for UI 2024.10

After I upgraded to 2024.10 the UI takes alot longer time to load. Before the splash screen was only shown for parts of a second. But after the upgrade it is now stuck on that screen for several second. All browsers on all computer and all apps on all phones in the household has the same issue.
After the dashboard is shown everything is as smooth as before. No lagging or loading times when changing between dashboards, settings or developer tab.
There is nothing in the logs that can help me find out what is going on. The only other thing I have noticed is that the UI is loosing connection with HA almost immediately if I switch to another browser tab.

Any one have any ideas how to find out why this is happening?