Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • You are correctly setting the Content-Encoding: gzip header, but you are nor correctly serving gzip'ed content (i.e., hello world is not a valid output for the gzip algorithm). This isn't an answer because I'm not sure how to resolve it (although searching for express gzip give s a few promising results) Commented Mar 7, 2016 at 14:28
  • Possible duplicate of Express gzip static content, but I'm not 100% sure Commented Mar 7, 2016 at 14:35
  • Possible duplicate of Nodejs send data in gzip using zlib Commented Mar 7, 2016 at 14:37
  • must try to search before, hope here is answer stackoverflow.com/questions/14778239/… Commented Mar 7, 2016 at 14:38