Cassette bundles vs MVC4 bundles

前端 未结 4 981
醉话见心
醉话见心 2021-02-02 06:40

I am currently working on a prototype ASP.NET MVC 3 solution that will be used as a base for several project rewrites (from web forms).

One of the goals that I have is t

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-02 07:02

    Information about ASP.NET MVC bundling is here: http://weblogs.asp.net/scottgu/archive/2011/11/27/new-bundling-and-minification-support-asp-net-4-5-series.aspx.

    ASP.NET is adding a feature that makes it easy to “bundle” or “combine” multiple CSS and JavaScript files into fewer HTTP requests. This causes the browser to request a lot fewer files and in turn reduces the time it takes to fetch them.

    The next release of ASP.NET is also adding a new feature that makes it easy to reduce or “minify” the download size of the content as well.

    Looks like it's essentially the same thing as Cassette. All other things being equal, use the solution that is native to ASP.NET MVC.

提交回复
热议问题