HttpCompression is missing from the IIS configuration editor section for SITE

I am trying to enable gzip compression on my web server. I installed the dynamic compression module on the server and enabled it in IIS. Now I am trying to specify dynamicTypes to enable application/json. I have completed these steps. I have successfully added speaker types at the server level . When I tested my application, I noticed that the response headers still do not include gzip. Then I returned to IIS to confirm that the settings of the configuration editor on the server were inherited for my site. At the site level , I do not see the httpCompressionnode in the drop-down list in the system.webServer section. An IIS10 employee (IIS8) can see the system.webServer/httpCompressionnode.

Any idea why I can't see this node? I believe this is due to the fact that gzip does not work in my setup.

+4
source share
2 answers

I just realized what the problem is. Firstly, there seems to be a difference between the versions of IIS (IIS6 and IIS10 in my case), in which some (newer) versions are system.webServer/httpCompressionon the site, and not just on the server. I thought the reason was that dynamic caching did not work on our dev server, but it worked on a colleague computer with IIS10.

, , gzip , - - IE, IE10, . , IE. IE10, . IE11, dev, gzip .

IE...

0

, . ( ). , , system.webServer

<urlCompression doDynamicCompression="true" doStaticCompression="true" />
0

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


All Articles