tomcat9 gzip

我认为apr模式比较屌所以

 <Connector port="80" protocol="org.apache.coyote.http11.Http11AprProtocol"
               connectionTimeout="20000"
               redirectPort="8443"
               compression= "on"  
                   compressionMinSize="50"
                   noCompressionUserAgents="gozilla, traviata"
                   useSendfile="false" 
                   compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain,application/javascript" 
                   />

 

上一篇:Tomcat9安装


下一篇:Android MVVM架构搭建