My team us currently trying to install Brotli compression on a VPS: Windows Server 2012 R2 with IIS8.5 using the 64bit module that can be downloaded here: https://www.iispeed.com/pagespeed/products/iisbrotli
But whatever we try, when I fill out the https domain name under: https://tools.keycdn.com/brotli-test I get a message
Negative! www.zorgbeurs.nl does not support Brotli compression.
In IIS these two modules are active for that site:
DynamicCompressionModule
StaticCompressionModule
What we've tried so far:
Added this to the applicationHost.Config file:
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="br" dll="C:\inetpub\iisbrotli64.dll" />
<scheme name="gzip" dll="%Windir%\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/javascript" enabled="true" />
<add mimeType="*/*" enabled="false" />
</dynamicTypes>
<staticTypes>
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />
<add mimeType="application/x-javascript" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="application/atom+xml" enabled="true" />
<add mimeType="application/xaml+xml" enabled="true" />
<add mimeType="*/*" enabled="false" />
</staticTypes>
</httpCompression>
I tried with out without the gzip line <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
I've stopped and started IIS.
I wanted to check if caching was the issue so I cleared files in folders:
"C:\Windows\Temp", "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root" and "%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" and then restarted the webserver.
In the web.config of the site I tried with and without this line in the <system.webServer>
section:
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
Still I see this in Chrome dev console for the 200 request to zorgbeurs.nl:
Response Headers
Access-Control-Allow-Headers:Content-Type
Access-Control-Allow-Origin:*
Cache-Control:private
Content-Encoding:gzip
Content-Length:14252
Content-Type:text/html; charset=utf-8
Date:Fri, 30 Dec 2016 19:01:48 GMT
Server:Microsoft-IIS/8.5
Set-Cookie:showcookiebar=false; path=/
Vary:Accept-Encoding
X-AspNet-Version:4.0.30319
X-Powered-By:ASP.NET
It's as if the configuration is completely ignored.
What else can I try?