ASP.NET Compression

From an earlier post about trying to improve the performance of my sites, I looked at HTTP compression. I read about customization in IIS, but it seems to be a global thing for all IIS application pools. I am not allowed to do this, since another site is also working on it. Then I saw some code that global.asax would have to install to achieve the same thing on every site.

See here http://www.stardeveloper.com/articles/display.html?article=2007110401&page=1] 1

How good is the setup in IIS? How dramatic is the effect? Any known issues?

+3
source share
6 answers

, HttpModule global.asax. HttpModule -.

Rich Crane 2.0 : http://www.codeplex.com/httpcompression/, .

blowery, , HttpModule.

. HttpModule , global.asax - BeginRequest, EndRequest , PostReleaseRequestState PreSendRequestHeaders, , .

IIS verus HttpModule, IIS , . -, . IIS , , .

60 80% HTML, JS, CSS XML gzip. , , .

+4

, Global.asax , , , IIS.

IIS 6 , IIS 7, HTTP, , MIME ...

0

, IIS- - gzip. , 60% - , .

. -, . VaryBy, , Accept-Encoding. , , , , .

-, GZipStream , Response.End Response.Flush, . .

, HTML. CSS Javascript . , , IHttpHandler, .

0

JavaScript VBScript. JavaScript xxldaniel codinghorror, VBScript ( M $Office) JSON- "Scripting.Dictionary" "Microsoft.XMLHTTP".

0

mod_gzip . ZLib . Apache . , mime ..

0

Source: https://habr.com/ru/post/1698278/


All Articles