开发者

What is the difference between httpCompression and urlCompression?

Looking at the node in a Web.config, I see that it allows both httpCompression and urlCompression elements. What's the differ开发者_Go百科ence between the two? I just want to do standard gzip, which one should I use?


urlCompression specifies what to compress and httpCompression indicates how to do the compression. If you're running on IIS7.5, you don't need to specify anything, both dynamic and static compression are enabled by default, both use gzip; here are some links on urlCompression and httpCompression.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜