PHondogo
07/05/2024, 8:52 PMbashor
07/15/2024, 7:44 PMskiko.wasm
might be same within few Compose versions so it should be cached well by browsers, and basically would be downloaded only once per domain (there are browser limitations [1] [2]). If we start merging files we will lose this capability and browser will need to download whole binaries for every application update. Which may be a big disadvantage.
Speaking about merging, we tried it about a year ago on a simple compose app, and the results were not so impressive, specifically:
• Row size of wasm file(s) was reduced by ~1MB, which is nice
• But the compressed size of wasm file(s) was reduced only by ~128KB for gzip and by ~92KB for brotli, which is not so much.
We’ll continue investigating possibilities to decrease the size of final applications. Stay tuned.