ASP.NET MVC compression options in IIS6

前端 未结 3 2117
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-29 16:04

For now I\'m stuck with IIS6 for ASP.NET-MVC (as in I cant upgrade to Server 2008 yet). It doesnt seem to know that my RESTful URLS are dynamic files and isn\'t compressing

3条回答
  •  太阳男子
    2020-12-29 16:52

    In a web config you should register StaticFileHandler and HTTP Module

    
    
    

    Source code you will find here

    But do not forget to turn on compression on IIS

提交回复
热议问题