Search
+1 (617) 7782998 | info@iispeed.com

Brotli compression module for Microsoft IIS

Brotli compression intro

Brotli is a new compression algorithm developed by Google. The smaller compressed response sizes allows for better space utilization and faster page loads. Brotli open source and can outperform gzip in many situations. Current browser support is listed here.

Advantages:

Brotli compression has been used earlier with great success for web fonts. WOFF 2.0 responses use ~25 percent less bytes than WOFF with Zopfli.

IIS Brotli brings the full power of this new compression scheme to your ASP.NET (MVC) applications.
The server module automatically applies Brotli compression to IIS responses when applicable.

Installing

Option 1: Compression scheme

The download contains two file called iisbrotli64.dll and iisbrotli32.dll. You can register the module as a compression scheme through applicationHost.config. This will make the Brotli filter respond to options set for compression in IIS as well as behave identical to gzip in many ways. Version 1.1 only, this is the preferred way of installing. An example configuration fragment:

          <httpCompression directory="C:\iiscompressed" minFileSizeForComp="50">
            <scheme name="br" dll="C:\code\iisbrotli\x64\Debug\iisbrotli.dll" />
            <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
            <staticTypes>
                <add mimeType="text/*" enabled="true" />
                <add mimeType="message/*" enabled="true" />
                <add mimeType="application/x-javascript" enabled="true" />
                <add mimeType="application/atom+xml" enabled="true" />
                <add mimeType="application/xaml+xml" enabled="true" />
                <add mimeType="*/*" enabled="false" />
            </staticTypes>
            <dynamicTypes>
                <add mimeType="text/*" enabled="true" />
                <add mimeType="message/*" enabled="true" />
                <add mimeType="application/x-javascript" enabled="true" />
                <add mimeType="*/*" enabled="false" />
            </dynamicTypes>
          </httpCompression>
            

Option 2: Transforming module

The download contains two file called iisbrotli64.dll and iisbrotli32.dll. You can register as a global native module(s) through IIS's control panel. For more information on registering modules in IIS, see here.

Download

Download IIS Brotli 1.1.1 (32 and 64 bits)


Share View Comments
.
Some content on this website represents a modified version of the official Google PageSpeed documentation