Tomcat增加gz压缩

  sre

tomcat开启gz压缩:
在server.xml的http的connector里面追加
compression=”on”
compressionMinSize=”2048″
noCompressionUserAgents=”gozilla, traviata”
compressableMimeType=”text/html,text/xml,text/javascript,application/x-javascript,application/javascript,text/css,text/plain”

One Reply to “Tomcat增加gz压缩”

LEAVE A COMMENT

Captcha Code