Optimizing an HTML5 browser game (Mahjong Solitario) for home Wi-Fi performance
Hi everyone,
I’ve been working on an HTML5 Mahjong Solitario game that runs directly in the browser, and I’m trying to make it load and run smoothly over typical home Wi-Fi setups.
So far, I’ve optimized asset loading by bundling and compressing files, caching static resources, and using lazy loading for non-essential elements like sound or extra themes. I also batch network calls, so the game only sends data (like scores) once per session.
The main challenge seems to be unstable or slow Wi-Fi connections — especially when players use multiple devices or older routers. Large assets can freeze briefly, and switching between 2.4 GHz and 5 GHz sometimes interrupts loading.
Has anyone here dealt with similar issues in web apps or online games? Any router settings or network tricks that helped improve performance for browser-based content?
