5 ms·
Well, maybe it actually is easier than I thought to bundle everything into a single html file (I thought you couldn't embed fonts into html, but apparently you
by Gehinnn 6y ago
Well, maybe it actually is easier than I thought to bundle everything into a single html file (I thought you couldn't embed fonts into html, but apparently you can [1]).
Anyways, in case of this application, all visualizations together are like 20MB (the monaco editor is a significant part of it). Having them split up and only loading things one demand significantly increases startup time.
Also, base64-encoding all the binary resources is a little bit inefficient.
[1] https://www.mediaevent.de/font-in-css-einbetten/ https://www.mediaevent.de/font-in-css-einbetten/