Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

HTTP compression on itch.io HTML5 games

A topic by Max Kowarski created Aug 06, 2019 Views: 204 Replies: 3
Viewing posts 1 to 3

Do the itch.io webservers support it? I can't  find any info on that.  My JS file is at 7.2 MB now and I'm having doubts as to whether it's a good thing to have the user wait until it loads up.

Moderator

Most web servers and browsers nowadays support on-the-fly compression of transmitted data. That's not the biggest problem. A lot of computers however, not to mention mobile devices, will struggle to load and run that much JS. You really need to consider reducing the scope of your game, or else making it native for people to download.

Well, it's mostly data that is baked in by the engine I use. I have a native version, too, but still, I wanted to know can you compress the data manually before releasing HTML5 version on itch.io?

Moderator

Yes, I think you can also make it a .gz compressed file and the server will still know what to do with it. Never tried myself.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.