rio icon indicating copy to clipboard operation
rio copied to clipboard

Split the index.html into smaller, cachable, parts

Open Aran-Fey opened this issue 9 months ago • 0 comments

Currently, our JS and CSS is inlined in the index.html, so browsers are forced to re-download it every time. We should extract these into static files that the browser only has to load once and can then cache.

Bonus: Most of our file size seems to be coming from highlightjs. We should try to find a way to lazy-load it on demand.

Aran-Fey avatar May 18 '24 11:05 Aran-Fey