Wednesday, February 26, 2020
Sign-In  |  Sign-Up  |  Contact Us  |  Bookmark |  RSS Feed

Programmatically Enabling IIS Compression  
IIS Compression takes CPU time to compress files. It does keep compressed file in the cache but if CPU becomes a real issue you can programmatically disable IIS Compression.

Use your Page_Load() method for place holder for your IIS Compression code and provide the following code snippet there.

if (!String.IsNullOrEmpty(this.Request.ServerVariables["SERVER_SOFTWARE"])) this.Request.ServerVariables["IIS_EnableDynamicCompression"] = "1";

Print Programmatically Enabling IIS Compression Bookmark Programmatically Enabling IIS Compression

Related Blogs  
Running IIS on Windows Azure
It is now possible to run IIS on Windows Azure. IIS was not part of Azure platform from the beginnin
Full IIS on Windows Azure
Windows Azure allows to run the Full Internet Information Services (Full IIS). It used to run only c
Back up and Restore IIS 7 and IIS 7.5 website
IIS 7 and IIS 7.5 does not have UI for website back ups and you need to use appcmd.
IIS MetaEdit
There is an easy way to manage your IIS sites. All you need to do is to use MetaEdit 2.2 tool that a
Create IIS website programmatically
Windows OS comes with very handy executable that allows you to run .VBS file with your custom Visual
ISAPI_Rewrite for IIS 7.5
IIS comes with URL rewrite module that you can use for URL rewrite, reverse proxy or other SEO frien
AprMay 2011Jun