lwsjs / local-web-server

A lean, modular web server for rapid full-stack development.
MIT License
1.2k stars 85 forks source link

-z or --compress not compressing any file in browser #107

Closed kumargauravin closed 5 years ago

kumargauravin commented 5 years ago

Hi Team, Some time back when we used --compress option we could see content-encoding: gzip in response headers but now serving an angular app we see no file is served giziped.

Please explain if something have changed over time.

Regards, Kumar

75lb commented 5 years ago

try reducing the compression threshold (1024B by default), e.g.

$ ws --compress --compress.threshold 500