HTML exports: load image data with separate requests #2543
Labels
enhancement
New feature or request
frontend
Concerning the HTML editor
HTTP/WS
The connection between backend and frontend
performance
publishing
Notebooks as static documents on the web
Website like this one load quite slow:
https://computationalthinking.mit.edu/Fall22/images_abstractions/seamcarving/
Because the statefile contains data for lots of images.
A normal website would first load the page (containing
<img>
tags), render it, and then start loading images and display then dynamically.We could achieve the same effect if we split the statefile in multiple parts, specifically, if we first load the statefile without large image data, and then load those later. I think the cleanest way to achieve this is:
With this approach, we would also really improve performance for notebooks that have a lot of plots with #1124, like PlutoVista.jl!
The text was updated successfully, but these errors were encountered: