[HTML5] UE4Game.js size

I recently managed to deploy an almost empty project to HTML5 and make it run through Apache in Firefox (still not in Chrome). My problem is that UE4Game.js is bigger than 71MB. I was wondering if there is a way to reduce its size.

Couple of things - Build Shipping - that will further redcude the size. second - when you deploy on a public facing website - you want to deploy as compressed gz files. that will make the download size much smaller. Its all text ( javascript ) which compresses very well.

Thanks a million Ankitkk. It worked again. :slight_smile: We had to learn how to configure Apache to make it use the .htaccess files first, and then everything went smoothly.

To make Apache use .htaccess files you have to edit the httpd.conf file. These are the changes you have to make in this file:

  • Uncomment this line (remove the #):
    LoadModule rewrite_module modules/mod_rewrite.so

  • Change this line:
    AllowOverride None
    And write this:

    AllowOverride All

  • And, of course, restart Apache to use the changes.