为 Jboss 启用 gzip 压缩 [英] Enabling gzip compression for Jboss

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

问题描述

如何为 Jboss 5.1.0 启用 gzip 压缩?

How is gzip compression for Jboss 5.1.0 enabled?

在tomcat的http连接器内对吗?我不记得这个文件存储在哪里,server.xml?

Within the tomcat http connector right? I cant remember where this file is stored, server.xml?

推荐答案

该文件在 server.xml 下,您正确地说明您必须更新 http 连接器.

The file is under server.xml and you are correct in stating that you have to updated the http connector.

以下链接是 tomcat 的信息,但同样适用于 JBoss,除了 server.xml 文件的位置.我相信你需要更新deployjbossweb.sar

Following link is info for tomcat, but same applies to JBoss except location of server.xml file. I believe you need to update the server.xml under deployjbossweb.sar

http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html

这篇关于为 Jboss 启用 gzip 压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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