JBoss AS7 支持 gzip

版本 JBOSS7.1

修改$JBOSS_HOME/standalone/configuration/standalone.xml

在<extensions>......</extensions>后加入

<system-properties>  
    <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION" value="on"/>  
    <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION_MIME_TYPES" value="text/javascript,text/css,text/html"/>  
</system-properties>  

 

posted @ 2012-09-14 17:20  透传云  阅读(512)  评论(0编辑  收藏  举报