4 ms·
Apple music web player loads >8MB of resources. Spotify loads >12MB. Sure this is including some images etc. not just the code bundle, but it's not like other e
by omcnoe 2y ago
Apple music web player loads >8MB of resources. Spotify loads >12MB. Sure this is including some images etc. not just the code bundle, but it's not like other examples of SPA's are small.
IMO the end solution for this bundle size issue is for browser vendors/wasm designers to work with languages to setup cross site caching for these large language runtimes, built and distributed from trusted upstream builds instead of individual websites. Let me inform browser to link my wasm go app against a specific well known version of the go runtime built as wasm.
I'm sure it would need some work on the language side (go specifically statically links against the runtime at build time) but I'm sure it can be made to work.
- pier25 2y ago> Apple music web player loads >8MB of resources. Spotify loads >12MB. Sure this is including some images etc. I wasn't counting content, just the WASM files. Spotify , SoundCloud, etc are not great examples as their players are bloated with tracking features etc. Our player at Wavekit[1] weighs 33kB (compressed) and is customizable, includes multiple web components, etc. [1] https://wavekit.app/ https://wavekit.app/