Node.js: Gzip compression?

前端 未结 13 1411
迷失自我
迷失自我 2020-11-30 21:57

Am I wrong in finding that Node.js does no gzip compression and there are no modules out there to perform gzip compression? How can anyone use a web server that has no compr

13条回答
  •  一生所求
    2020-11-30 22:49

    It's been a few good days with node, and you're right to say that you can't create a webserver without gzip.

    There are quite a lot options given on the modules page on the Node.js Wiki. I tried out most of them, but this is the one which I'm finally using -

    https://github.com/donnerjack13589/node.gzip

    v1.0 is also out and it has been quite stable so far.

提交回复
热议问题