Created:
1/25/2006 1:13:12 AM

Author:
Przemek Radzikowski

permalink [Permalink]





International Careers & Jobs - An international employment directory, reviewing world-wide top job sites




  • Home  ›
  • Articles  ›
  • Enable HTTP Compression for your ASP.NET applications



| More

Enable HTTP Compression for your ASP.NET applications

HTTP compression can add a quick performance boost to your web applications within minutes. If you would like to benefit from this free implementation of HTTP compression on Windows Server 2000 or 2003 under IIS5 or IIS6 this is the article for you.


 

 

  1. Download and install the HttpModule from http://www.blowery.org. Simply follow this link and download the binary package.

    If for some reason you can't download it from Blowery.org try here
  2. Extract the package and copy the extracted files into the bin folder of your .Net application.
    blowery.Web.HttpCompress.dll
    blowery.Web.HttpCompress.dll.xml
    ICSharpCode.SharpZipLib.dll
    ICSharpCode.SharpZipLib.dll.xml
  3. Modify your Web.config
    1. Add to the configSections
      <sectionGroup name="blowery.web">
       <section name="httpCompress" type="blowery.Web.HttpCompress.SectionHandler, blowery.Web.HttpCompress"/>
      </sectionGroup>
    2. Add to the httpModules section inside system.web (if httpModules section does not exist, create it)
      <httpModules>
      <add name="CompressionModule" type="blowery.Web.HttpCompress.HttpModule, blowery.web.HttpCompress"/>
      </httpModules>
    3. Add to the configuration section
      <blowery.web>
      <httpCompress preferredAlgorithm="deflate" compressionLevel="high">
          <excludedMimeTypes>
          <add type="image/jpeg"/>
          <add type="image/gif"/>
          </excludedMimeTypes>
          <excludedPaths></excludedPaths>
      </httpCompress>
      </blowery.web>
  4. That's it!

For more information or troubleshooting please refer to http://www.blowery.org

 

permalink [Permalink] - Updated: Monday, October 28, 2013





| More

 

Articles of Interest


International Careers & Jobs - An international employment directory, reviewing world-wide top job sites


 
 
(c) Capitalhead Pty Ltd
Contact Capitalhead About Us Articles & Publications Partners Solutions & Services Products Valid XHTML Valid CSS