Support for IIS 10

16 views
Skip to first unread message

Amir Keibi

unread,
Feb 26, 2019, 7:27:39 PM2/26/19
to sup...@iisbrotli.com

Hello,

 

I’m currently evaluating IISBrotli V2.0 on IIS 10. The initial test however shows that the module isn’t effective. Testing with latest version of Chrome, I see “accept-encoding: gzip, deflate, br” in the request’s header and “content-encoding: deflate” in response.

 

I assumed this might have something to do with the order of encodings in the request. So I tried cUrl:

 

curl -s -o /dev/null -ikv -H "accept-encoding: br" https://my_url_to_js_file

 

And the response indicated that we’re still using “deflate”:

 

< HTTP/2 200 

< cache-control: public

< content-type: application/javascript

< content-encoding: deflate

< server: Microsoft-IIS/10.0

< date: Tue, 26 Feb 2019 23:29:17 GMT

 

I even edited IIS’s applicationHost file to list “IISBrotli” as the first module in case that matters. Moreover, added a compression scheme for “br”:

 

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

            <scheme name="br" dll="%ProgramFiles%\We-Amp\IISBrotli\IISBrotli.dll" staticCompressionLevel="11" />

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

            <staticTypes>

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

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

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

                <add mimeType="application/atom+xml" enabled="true" />

                <add mimeType="application/xaml+xml" enabled="true" />

                <add mimeType="image/svg+xml" enabled="true" />

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

            </staticTypes>

        </httpCompression>

 

It’s worth mentioning that I restart IIS with every change I make.

 

None of these changes have made the module work. I wonder if there is anything else I need to configure.

 

Thanks,

Amir

Kees Spoelstra

unread,
Feb 26, 2019, 7:32:39 PM2/26/19
to Amir Keibi, sup...@iisbrotli.com
Hi,

I am sorry to hear this, we will look into this for you today and get back to you as soon as possible. 

Regards, 
Kees Spoelstra 

Bill Dalton

unread,
Nov 6, 2019, 6:26:34 PM11/6/19
to Support, sup...@iisbrotli.com, ake...@pnimedia.com
You are correct to list brotli as first compression scheme. However only Windows server 2019 will use it as default. If you are using Server 2016 it will not be the default and would need to be requested by the content. 

Otto van der Schaaf

unread,
Nov 6, 2019, 7:03:15 PM11/6/19
to Amir Keibi, sup...@iisbrotli.com
Isn't it really odd to get a deflated response while not actuallynhaving requested it in the curl test? 
Reply all
Reply to author
Forward
0 new messages