Tomcat gzip 配置

<Connector port="8383" protocol="HTTP/1.1" maxThreads="150" connectionTimeout="20000"
compression="on"
useSendfile="false"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/json,text/html,text/xml,application/javascript,text/javascript,text/css,text/plain,application/json"
redirectPort="8443" />

posted @ 2019-07-09 15:54  zhh  阅读(184)  评论(0编辑  收藏  举报