You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By supporting early gzip support in the http webserver we may solve the following two issues:
git grep wont be spotting things in precompiled files
faster loading times and smaller files to ship
Possible fix
When the client requests a file from the server. the server may check if a file appending .gz exists. if so, just download it and add the compression header: Content-Encoding: gzip.
As long as this is a non-standard behaviour. it wont work with other webservers on top of r2. So it will probably need to be implemented in different ways for them or just drop both files (js and .js.gz), but that wont be an improvement at all
The text was updated successfully, but these errors were encountered:
Describe the issue
Just using the tiled webui as an example.
By supporting early gzip support in the http webserver we may solve the following two issues:
Possible fix
When the client requests a file from the server. the server may check if a file appending .gz exists. if so, just download it and add the compression header:
Content-Encoding: gzip
.As long as this is a non-standard behaviour. it wont work with other webservers on top of r2. So it will probably need to be implemented in different ways for them or just drop both files (js and .js.gz), but that wont be an improvement at all
The text was updated successfully, but these errors were encountered: