IIS compression with MVC?

Last post 02-18-2008 11:46 PM by pure.krome. 1 replies.

Sort Posts:

  • IIS compression with MVC?

    02-18-2008, 6:51 PM
    • Member
      93 point Member
    • katokay
    • Member since 12-03-2006, 4:37 PM
    • Posts 50

    Is there any documentation on how to enable IIS compression for ASP.NET MVC? If I were to take a guess it would be similar to the instructions for enabling aspx pages for compression with the .mvc instead of .aspx for IIS6?  I assume with IIS 7 it will work out of the box if dynamic compression is enabled, or will there be surprises?
     

  • Re: IIS compression with MVC?

    02-18-2008, 11:46 PM
    • Member
      532 point Member
    • pure.krome
    • Member since 05-28-2006, 12:45 AM
    • Melbourne, Australia
    • Posts 348

    Good question :)

     I can't speak about IIS7, but for IIS6 i'm under the impression that since all our mvc pages are either aspx, ascx or ashx, then if you've setup your compression to handle those extensions, then that will be compressed.

    I've never tested this though - so it's all guesses from me too, until i deploy to my production and uat machines, were i use IIS (i develop using webdev/cassini)

    :: Never underestimate the predictability of stupidity ::
Page 1 of 1 (2 items)