Created
December 24, 2013 08:36
-
-
Save spidersea/8110426 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 压缩参数 | |
curl --compressed -I " http://xx.x.x.x./xxx/" | |
##nginx 添加jason压缩 | |
gzip_types text/plain application/x-javascript text/css text/xml application/xml application/xml+rss text/javascript image/x-icon image/x-ms-bmp image/g application/json | |
##tomcat 添加jason压缩 | |
compression="on" | |
compressionMinSize="2048" | |
noCompressionUserAgents="gozilla, traviata" | |
compressableMimeType="application/json,application/xml,text/html,text/xml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment