ASP.NET MVC gzipping doesn't work

26 Views Asked by At

After adding to my Web.config the following line of code:

<system.webServer>
    <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="false"/>

// other code
</system.webServer>

YSlow still notifies me that my plain text components should be compressed and I'm given an F mark. What could be the cause?

0

There are 0 best solutions below