You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for anyone who cares about my questions, best wishes!
problems:
1、I develop an app with dash, but everytime when I open the website the first time, it always takes about 30s to load the "plotly-1.44.3.min.js"(from the page: https://cdn.plot.ly/plotly-1.44.3.min.js).
ps:Opening the homepage of dash( https://dash.plot.ly ) takes about 1.5minutes, because it also loads the plotly-1.44.3.min.js slowly...
tries(but have no effect):
1、I have tried to load the "js" files from local disk with the following setting "app.css.config.serve_locally = True app.scripts.config.serve_locally = True", then it takes longer time...
I have solved the above problem...
I am very happy and anyone who has the same problem can follow the following method.
1、Modify the line
the old line:
'external_url': 'https://cdn.plot.ly/plotly-1.44.3.min.js',
which in the file (your own installation path of dash_core_components……/site-packages/dash_core_components/_init_.py) to
thanks for anyone who cares about my questions, best wishes!
problems:
![image](https://user-images.githubusercontent.com/20540340/53009161-d754fd00-3475-11e9-95ee-286492e33660.png)
1、I develop an app with dash, but everytime when I open the website the first time, it always takes about 30s to load the "plotly-1.44.3.min.js"(from the page: https://cdn.plot.ly/plotly-1.44.3.min.js).
ps:Opening the homepage of dash( https://dash.plot.ly ) takes about 1.5minutes, because it also loads the plotly-1.44.3.min.js slowly...
tries(but have no effect):
1、I have tried to load the "js" files from local disk with the following setting "app.css.config.serve_locally = True app.scripts.config.serve_locally = True", then it takes longer time...
attempt(but needs help):
1、How can I load the plotly-1.44.3.min.js from another place?(such as from https://unpkg.com/……because "dash_core_components.min.js" load quickly from the page https://unpkg.com/dash-core-components@0.43.1/dash_core_components/dash_core_components.min.js);
2、Or can I make a web page which as same as https://cdn.plot.ly/plotly-1.44.3.min.js; then I can load plotly-1.44.3.min.js from the new page.
best wishes!
The text was updated successfully, but these errors were encountered: