gateway icon indicating copy to clipboard operation
gateway copied to clipboard

Gzip encoding enabled by default?

Open Trainmaster opened this issue 6 years ago • 3 comments

The response headers of *.js or *.css files output content-encoding: gzip. Can this be changed somehow?

Trainmaster avatar Dec 20 '18 09:12 Trainmaster

There's currently no option exposed in the command line, but will be easy to add.

kelunik avatar Dec 20 '18 14:12 kelunik

What's your reason for disabling?

kelunik avatar Dec 21 '18 10:12 kelunik

@kelunik I see no point in enabling it by default when developing on localhost. However I think it's a cool feature. Maybe disable it in development and enable in production? And even better: let one choose the compression level. So one could use the same compression level as on production server.

Trainmaster avatar Dec 21 '18 10:12 Trainmaster