문제

I enable gzip compression for my tomcat by following setting:

compressableMimeType="text/html, text/xml, text/css, text/plain, application/json, application/javascript, application/x-javascript, application/xml"

but i cannot get the page size as low as when I use Fiddler's Transformer: Tomcat's output is 2.3MB vs Fiddler's is 2.0MB.

What is Fiddler's default gzip configuration?

Thank you in advance!

도움이 되었습니까?

해결책

By default, Fiddler uses the Xceed Streaming Compression library for compression; the default compression level is "highest" which is probably equivalent to the "9" setting in other GZIP implementations.

http://doc.xceedsoft.com/products/XceedWfWorkflow/Xceed.Compression.Formats~Xceed.Compression.Formats.GZipCompressedStream~_ctor(Stream).html

Note that you can get even higher compression ratios using ZopFli.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top