tomcat的JZIP配置

 <Connector
    port="8080"
    protocol="HTTP/1.1"
    connectionTimeout="20000"
    compression="on"
    compressableMimeType="text/html,text/xml,text/plain,application/xml,application/html"
/>

只需要这句话就OK,在Tomcat/conf /server.xml里面配置

阅读更多

没有更多推荐了,返回首页