Reduce HTML5 Loading Time

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By putskan

Hi guys,
I’ve made a web-based game using Godot.
When trying to reach it from a remote computer, it takes a pretty long time to load (about a minute or so).

I believe it’s due to the WASM file size, which is about 20MB.
I know caching would help preventing long loading time in future visits, however I’d like to reduce it from the first visit of a client.

Is there a way to do that? (maybe compress the wasm or so?)
Thanks in advance!

I have this problem too but it takes a lot longer than 2mins to download! I presumed it was graphic and sound assets what’s the best way to improve download speed of a html5 export ?

samtse1000 | 2022-11-21 00:00

:bust_in_silhouette: Reply From: exuin

I’ve never tried this, but you can try optimizing for for size.