Files
UnrealEngineUWP/Engine/Build/HTML5
James Moran f9392202a7 Tweaking HTML5 package compression.
When packaged HTML5 can now handle being hosted on servers that don't support static compression - done by removing explicit requests for compressed files.
Compression requires correct server setup. htaccess file included in package deploy to make this easier.
Changed HTML5LaunchHelper to switch between compressed/uncompressed files when uncompressed files do/don't exist.

[CL 2691701 by James Moran in Main branch]
2015-09-15 10:35:25 -04:00
..

This folder contains pre compressed files ready for deployment, please make sure to use the shipping build for final deployment. 

Files Required for final deployment. 
---------------------------------

*.js.gz -compressed javascript files.
*.data  -compressed game content
*.mem	-compressed memory iniitialization file
*.html 	-uncompressed landing page. 

*.symbols - uncompressed symbols, if necessary. 


Local Testing
------------- 

run HTML5Launcher.exe (via mono on Mac) to start a web sever which is configured to serve compressed files on localhost. This is not a production quality server.
add -ServerPort=XXXX to the command line if necessary to change the serving port. Default port is 8000. 


How to deploy on Apache 
------------------------ 

Add the following in .conf or .htaccess file. ( edit the directory name accordingly )

<Directory "${SRVROOT}/htdocs">
 AddEncoding gzip gz
</Directory>