I am trying to build a complex admin panel with a lot of pages, using dash.
I am using dash’s dynamic layout to load the multi-page environment.
After adding in my app 10 callbacks with 10-20 inputs/states and 10-30 outputs each, the initial page load takes about 2 seconds.
If I increase the number of callbacks to 100, just to stress test the plotly dash, the browser takes around 90 seconds to load.
If I continue the development that way, my app will be practically unusable after some more pages implementation.
As I can guess, dash tries to pre-load and prepare all of the callbacks when the page loads, no matter if the user will need them in the current page.
Is there something I can do to make that perform better or it is just a limitation of the current version (running 1.12) of dash?
Perhaps sending to the browser only the callbacks that every page needs… But I can’t find such an option in dash documentation…