You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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
|
|
|