Best practices to improve dash performance

Hi everyone - My Dash app is too slow. It takes a few seconds to load and render the page (2 bars, 1 table).
Not doing anything fancy. Just reading a few CSVs using Panda (< 1000 records / 5-6 fields) to render the charts.
It is slow both on my Mac and GCP. Could anyone offer some tips on possible ways to improve the app? Thanks!


Do you perhaps have a minimum example that we could look at? Hard to diagnose what the problem is with the description that you’ve given so far.

1 Like

In the Dash 2.0 Prerelease Candidate Available!, they mention that installing orjson will help improve json serialization which may lead to better performance.

Simply run the following in your environment and Dash will automatically use it when available:
pip install orjson

1 Like

Thanks guys!
I found the following pages useful as well:


this is useful information