How to improve multi page app performance

I have a multi-page Dash app, and I have buttons to navigate between different pages. The problem is that no matter which page I choose, whether it contains data or not, it will download a 39MB file. Is there a method to make each page load only its related data?

Hello @mo_taweel,

If you use navigation links, it will not load the dash layout each time, but only load the applicable info each time that is within that layout.

If you are using static info, you can use my page caching process to boost navigation between pages as well.

The document will always load in a multi page app, but where the pages are loading you’d see a request to /_update-dash-components or something similar.

2 Likes