@resynth1943 @dsfgs Mastodon doesn't typically use WebAssembly, only when you want to detect text on an image a WASM file is loaded dynamically (Tesseract.js)
I believe locales are already in JSON files? Not sure if it's cached with the service worker, I believe some stuff is, but that wouldn't help on first load obviously and on subsequent loads the browser caches it anyway
@Gargron @dsfgs
(side note: would you be open to trying Preact? It's 3KB, and I know it will shave off at least 30% of the main bundle size)
The locale seems to be inlined into a JavaScript file, which *is* cached with a service worker.