On very slow connections, you need to wait for the full editor JS to be loaded until you see the fetch progress bar.
This PR does some "server side rendering" to show an indeterminate progress bar immediately when the html and CSS loads, which will be "hydrated" when the editor JS is loaded.
Here is a "Fast 3G" throttled load of a featured notebook. Notice first the (greyed out) progress bar, replaced by the real progress bar, and once the statefile is loaded, the notebook. Before this PR, you would see a blank screen.
On very slow connections, you need to wait for the full editor JS to be loaded until you see the fetch progress bar.
This PR does some "server side rendering" to show an indeterminate progress bar immediately when the html and CSS loads, which will be "hydrated" when the editor JS is loaded.
Here is a "Fast 3G" throttled load of a featured notebook. Notice first the (greyed out) progress bar, replaced by the real progress bar, and once the statefile is loaded, the notebook. Before this PR, you would see a blank screen.
https://github.com/fonsp/Pluto.jl/assets/6933510/4adee854-a2ae-4d34-b1ba-22c60160f54c