Node.js:Gzip压缩? [英] Node.js: Gzip compression?

查看:130
本文介绍了Node.js:Gzip压缩?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现Node.js没有gzip压缩,没有模块执行gzip压缩,我错了?任何人如何使用没有压缩的Web服务器?我在这里缺少什么?我应该尝试将算法移植到服务器端使用的JavaScript吗?

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 a anyone use a web server that has no compression? What am I missing here? Should I try to—gasp—port the algorithm to JavaScript for server-side use?

推荐答案

=https://github.com/nodejs/node/wiki/modules =nofollow>列出的模块 进行压缩

Here are number of modules listed for compression:

这篇关于Node.js:Gzip压缩?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆