Dash: Reduce Dash App's page rendering time

Created on 1 May 2019  Â·  2Comments  Â·  Source: plotly/dash

Hi everyone!

I recently built a Dash app and noticed that under Chrome's Dev tools-> Network, the waiting time (TTFB) is more than 200ms. This is causing my app to take more than 3 seconds to render completely.
Is there any way I can reduce the waiting time for the Dash App?
Please let me know.

Thanks!
network

@antoinerg @josegonzalez @moorepants @emmanuelle

Most helpful comment

The following is a super-experimental thing I'm toying with for fun: I envision pushing down PNG of the figures (generated with Orca) down to the client and THEN load Dash and instantiate all the interactive figures in the background. Demo of swapping a PNG with a plotly.js figure on mouseover:
Peek 2019-04-27 11-26

All 2 comments

I'm sorry I should have mentioned this in the issue itself.
I am running it on the localhost.

On Wed, May 1, 2019 at 11:07 AM Jose Diaz-Gonzalez notifications@github.com
wrote:

Can you describe a bit more about the environment this dash app is
running? Is this from localhost? On DDS? On Heroku?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/plotly/dash/issues/703#issuecomment-488308485, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADVHQUXSVRKRZQQRAB6TMUTPTGWZTANCNFSM4HJTT6RA
.

The following is a super-experimental thing I'm toying with for fun: I envision pushing down PNG of the figures (generated with Orca) down to the client and THEN load Dash and instantiate all the interactive figures in the background. Demo of swapping a PNG with a plotly.js figure on mouseover:
Peek 2019-04-27 11-26

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mondrik picture Mondrik  Â·  3Comments

Chris8080 picture Chris8080  Â·  3Comments

r-chris picture r-chris  Â·  3Comments

alexcjohnson picture alexcjohnson  Â·  3Comments

Ricardo-C-Oliveira picture Ricardo-C-Oliveira  Â·  4Comments