We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

IIS compression 7.web/CS7?

Hi,

With 6.web there was much focus on enabling IIS compression for 6.web (http://techdoc.superoffice.com/webframe.html?Technical%20documents.html). I do not find anything on this subject on seventechdoc. Is this because this is now handled by the 7.web application itself/or its setup, or do we not need the IIS compression anymore?

If there is still much to gain from configuring IIS compressin for 7.web? How to do that for IIS7/7.5?

And how do the above apply to CS? Can we gain much or not from enabling IIS cmpressin there?

Thanks,

Jan

RE: IIS compression 7.web/CS7?

I'll gather some information and publish it on techdoc for 7 as well.

Av: Margrethe Romnes 24. jan 2012

RE: IIS compression 7.web/CS7?

Thanks, Margrethe. We really need the info...

Av: Jan Bonde 24. jan 2012

RE: IIS compression 7.web/CS7?

Did you find any info regarding this, Margrethe?

Av: Jan Bonde 8. feb 2012

RE: IIS compression 7.web/CS7?

There is an entire website dedicated towards IIS @ www.iis.net.

Cutting to the point, here are a couple options for enabling compression in 7/7.5

Command Prompt 

%windir%\system32\inetsrv\appcmd.exe
appcmd set config -section:urlCompression /doDynamicCompression:true
appCmd set config -section:httpCompression /dynamicCompressionDisableCpuUsage:50
appCmd set config -section:httpCompression /dynamicCompressionEnableCpuUsage:30

Resources:

Install IIS:

http://learn.iis.net/page.aspx/28/installing-iis-70-on-windows-vista/
http://learn.iis.net/page.aspx/29/installing-iis7-on-windows-server-2008/

Install Compression on IIS7

http://www.iis.net/ConfigReference/system.webServer/httpCompression/scheme

 

Discussion

http://weblogs.asp.net/owscott/archive/2009/02/22/iis-7-compression-good-bad-how-much.aspx
http://blogs.iis.net/ksingla/archive/2006/06/13/changes-to-compression-in-iis7.aspx
http://www.iis.net/configreference

 Configuration

<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">

    <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />

    <scheme name="deflate" doStaticCompression="true" doDynamicCompression="true" 

               dll="C:\Windows\system32\inetsrv\gzip.dll" />

    <dynamicTypes>

          <add mimeType="text/*" enabled="true" />

          <add mimeType="message/*" enabled="true" />

          <add mimeType="application/x-javascript" enabled="true" />

          <add mimeType="application/x-javascript; charset=utf-8" enabled="true" />

          <add mimeType="*/*" enabled="false" />

    </dynamicTypes>

    <staticTypes>

          <add mimeType="text/*" enabled="true" />

          <add mimeType="message/*" enabled="true" />

          <add mimeType="application/javascript" enabled="true" />

          <add mimeType="application/x-javascript; charset=utf-8" enabled="true" />

          <add mimeType="*/*" enabled="false" />

    </staticTypes>

</httpCompression>

 

I'm not aware of anyone in R&D who has done testing compression on Customer Service. Try it out, and then Blog about here on DevNet :-D.

 

There has been a lot of effort into increasing CS performance in 7.1, and FastCGI ( I beleive* ) and with that you are sure to see a big difference.

Best Regards.

 

Av: Tony Yates 8. feb 2012