Minify Html output of ASP.NET Application

后端 未结 6 2063
后悔当初
后悔当初 2020-11-28 23:47

What are the ways by which we can reduce the size of the HTML Response sent by an asp.net application?

I am using Controls which are not owned by me and it produces

6条回答
  •  醉梦人生
    2020-11-29 00:25

    The accepted answer does not work with MVC 4, so here is a similar lib that minifies at build-time https://github.com/jitbit/HtmlOptimizerMvc4

提交回复
热议问题