Closed gama410 closed 6 years ago
To be frank, I did not see much value of gzip compression for dev setup, as the bandwidth is unlikely an issue in dev mode.
As you stated in original cli issue, we don’t need compression in build either. Because in production, compression is handled at different layer (nginx for instance).
I do agree with @huochunpeng, I don't see a real value of having GZIP compression in a dev environment. As he said, this is handled by the web server (nginx, apache, iis) at the end and the CLI shouldn't even know about it.
You're right, there is no real need for it in dev, although I needed it for test purpose on my setup while trying to find an acceptable bundle organization...
I see now, make sense in that case. Anyway, there's never enough documentation to cover what everybody wants to do :)
A recipe for adding gzip compression to the aurelia-cli run task as discussed here