Update: version 1.16 has been released since this was posted.
Dash 1.6.0 is a small minor release updating the bundled version of Plotly.js and improving support for fingerprinting and async components.
Changelog
Dash v.1.6.0
Highlights
- Update to Plotly.js 1.51.1 (Feature release 1.51.0)
- Additional async components
- Fixed fingerprinting issues for components using semver metadata — if using metadata, component developers will need to update to the latest version of the plugin for the lazy (default) case to be handled correctly
Previous Releases
In Depth
Async
One of the key aspects of web app performance is the amount of JavaScript that needs to be processed before anything useful can be done by the browser. The cost is double, the download time and the parsing time, and the amount of JS is the best predictor for this load. Below is a snapshot of the amount of JavaScript that needs to be loaded for the latest versions of Dash before it can start doing something useful and the cost of loading that JavaScript without prior caching from a good connection and a fast/slow cellphone connection (browser simulated).
Version | JavaScript | Fast Internet | Fast 3G | Slow 3G |
---|---|---|---|---|
1.4.0 | 6.37 MB | 1.7s | 11.2s | 40.2s |
1.5.0 | 1.86 MB (-71%) | 460ms | 3.7s | 16s |
1.6.0 | 1.08 MB (-83%) | 320ms | 2.7s | 9.3s |