IIS 8.5 compression not working with ARR 3.0 RRS feed

  • Question

  • Hi Guys,

    We have multiple sub website and have root site. ARR machine has windows server 2012 R2 with IIS 8.5 installed along with ARR 3.0. I have already configured my compression setting at IIS level.


    When we try to run a sample application directly from ARR machine (sample hosted directly inside IIS) we get the expected result as with gzip compression response. 

    When we change the IIS to allow request routing with version 3.0 installed and enabled. The response we get is not compressed. ARR 3.0 Trace help us identify the root cause as 

    42. DYNAMIC_COMPRESSION_START 13:34:43.004

    To support and enable the above option we have already have following configuration for outboundrules

            <rule name="RestoreAcceptEncoding" preCondition="NeedsRestoringAcceptEncoding">
              <match pattern="^(.*)" serverVariable="HTTP_ACCEPT_ENCODING" />
              <action type="Rewrite" value="{HTTP_X_ORIGINAL_ACCEPT_ENCODING}" />
         <preCondition name="NeedsRestoringAcceptEncoding">
                <add input="{HTTP_X_ORIGINAL_ACCEPT_ENCODING}" pattern=".+" />

    Now when we deply the same rules with machine windows server 2008 R2 with IIS 7.5 and ARR 2.5 everythings works fine. We are not sure what is really a problem or special configuration required to make this working with ARR 3, windows server 2012 r2 IIS 8.5.

    dharampal sikhwal

    Monday, May 12, 2014 12:54 PM