You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
changing filenames so that they will show up GitHub's repo this is in reference to GitHub PR #4780 #jira UE-60136 GitHub 4780 : Proposed HTML5 Changes #rb none #rn [CL 4214064 by Nick Shin in Dev-Mobile branch]
23 lines
587 B
Plaintext
23 lines
587 B
Plaintext
AddType application/x-javascript .jsgz
|
|
AddType application/wasm .wasmgz
|
|
AddType text/plain .symbolsgz
|
|
AddType application/octet-stream .memgz
|
|
# NOTE: .data is NOT compressed
|
|
AddType application/octet-stream .data
|
|
|
|
RewriteEngine on
|
|
# If client accepts compressed files
|
|
RewriteCond %{HTTP:Accept-Encoding} gzip
|
|
# and if compressed file exists
|
|
RewriteCond %{REQUEST_FILENAME}gz -f
|
|
# send .ext.gz instead of .ext
|
|
RewriteRule ^(.+)\.(js|wasm|symbols|mem)$ $1.$2gz
|
|
|
|
AddEncoding gzip .jsgz
|
|
AddEncoding gzip .wasmgz
|
|
AddEncoding gzip .symbolsgz
|
|
AddEncoding gzip .memgz
|
|
|
|
AddEncoding gzip .datagz
|
|
|