generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

Why compression is not working

Open minchopm opened this issue 8 years ago • 3 comments

  • [x] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack 3.8.0
Node 6.11.0
npm 3.10.7
Operating System / Windows 10
Item Answer
Babel
HTML
SCSS
ui-router
Client Tests Jasmine / Mocha
DB MongoDB / SQL
Auth Y

By default, there is a compression midlewhere installed and running into express framework, but none of my files or requests are gzip-ed. Do you have some explanation about that issue?

minchopm avatar Jun 09 '17 08:06 minchopm

generator-angular-fullstack | x.x.x

Awk34 avatar Jun 09 '17 14:06 Awk34

"generatorVersion": "3.8.0",

minchopm avatar Jun 09 '17 19:06 minchopm

I have an idea why it is happen but don't know how to fix it. There is a transfer-encoding: chunked header set from somewhere and that header blocked content-length header and the files cannot be compressed with gzip. Do you have any idea how to turn that header off?

minchopm avatar Jun 10 '17 17:06 minchopm