You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick analysis shows the service worker is fetching everything, including woff and woff2 versions of a bunch of fonts (36 fonts total ❗ ). In this case it may be better to use Google fonts to allow browsers to only load fonts which are used. Or even better yet use a system font stack to avoid the font network requests alltogether.
Some of the *worker.js files are huge too as is the codemirror bundle so there's definitely room for improvement. Maybe a lightweight code syntax highlighter would be better in the docs (e.g. https://github.com/PrismJS/prism) and just load codemirror when necessary for the REPL..
The text was updated successfully, but these errors were encountered:
On the initial site load with a completely cold cache, the total download file size exceeds 1.4 MB... which is extreme for a Svelte powered site!
Network waterfall: https://www.webpagetest.org/result/180811_1R_66c4b9f41273b3476c0412bc0d0e980d/1/details/#waterfall_view_step1
A quick analysis shows the service worker is fetching everything, including
woff
andwoff2
versions of a bunch of fonts (36 fonts total ❗ ). In this case it may be better to use Google fonts to allow browsers to only load fonts which are used. Or even better yet use a system font stack to avoid the font network requests alltogether.Some of the
*worker.js
files are huge too as is the codemirror bundle so there's definitely room for improvement. Maybe a lightweight code syntax highlighter would be better in the docs (e.g. https://github.com/PrismJS/prism) and just load codemirror when necessary for the REPL..The text was updated successfully, but these errors were encountered: