捆绑销售
捆绑销售是 ASP.NET 4.5 使它容易地合并,或将多个文件捆绑到单个文件中的新功能。您可以创建 CSS、 JavaScript 和其他包。较少的文件意味着更少的 HTTP 请求和,可以改善第一页负载性能。
下面的图像显示显示以前,但这次与捆绑和缩小启用的关于视图的同一时间视图。
原版:
Bundling
Bundling is a new feature in ASP.NET 4.5 that makes it easy to combine or bundle multiple files into a single file. You can create CSS, JavaScript and other bundles. Fewer files means fewer HTTP requests and that can improve first page load performance.
The following image shows the same timing view of the About view shown previously, but this time with bundling and minification enabled.