How to Reduce File size for html

Hi,

I have build a architecture building in unreal 4.11.2 and when i build the level package for html the file size of the level is above 400 mb would like you help in reducing the file size to 50 mb or lesser. I am ready to share the unreal file as well. Require Urgent help on it.

How do we compress .datagz file can you guide me through the process.

The mesh is not large but i am not able to figure out what is causing it to be this large

Is 400mb the size of the already compressed .datagz file, or the uncompressed .data file? If it is the uncompressed size, then does it compress any with gzip (that is the .datagz file)?

I wonder if UE4 has any tools for obtaining a breakdown of where the bytes are going in an asset package? That might help identifying where there would be best room to cut down on size.

The .datagz file is already compressed. The .data file is uncompressed. If there is a big size difference between the two, then compression can help, and it is better to serve the .datagz file instead of the .data file. (Only one of these is needed on a CDN server)

The blueprints-based Empty Project in UE4.11 has about 500MB of textures as source data, so it generates a large .datagz file that is expected, but ignoring the assets, the other content comes to 14.2MB on my system:

Besides the main .html file, only the files ending with “gz” are needed for hosting. Make sure you are doing a Shipping build, see here:

As for how to host the gz-compressed content on a server, see Html build packaging broken for shipping builds - Platform & Builds - Epic Developer Community Forums and How to compress javascript html5 files in 4.11? - Platform & Builds - Epic Developer Community Forums.

Oh, also the .symbolsgz file is not needed, that is only for developers, so you can remove that as well, which would make the empty project down to 10.4MB from 14.2MB.

Hi thanks this helped but it only reduced it by 130 mb the project is still the project is still 210 mb what else can i do to reduce it .

I tried rebuilding an empty project is was 108 mb