Skip to Content
0
May 10, 2018 at 09:57 PM

How to load dashboard widgets asychronously?

103 Views

I am trying to improve a performance issue. After logging in to the Backoffice, navigation sidebars/links are not immediately activate or clickable as dashboard widgets are still loading at this time. After the dashboard widgets finish loading successfully everything is fine and works properly. But I would like to reduce the amount of idle time between the time the user logs in and when the navigation items are ready for use.

Is there a way to configure custom dashboard widgets to load asynchronously? Was looking to see if there is a way to do this similar to how I've seen you can use settings ("async") for some out of the box widgets. (e.g. simple list widget)