When does bundling and minification happen AppStart/FirstRequest
We are using ASP.NET MVC 4.5 for our website. We are tracking down some page load issues for our website and wanted to know when does bundling and minification happen .
When I register bundle in my application start
bundles.Add(new ScriptBundle("~/bundles/ourjavascriptcode").Include(
"~/Scripts/file1.js",
"~/Scripts/file2.js",
"~/Scripts/file3.js"));
}
and in my cshtml if I include
@Scripts.Render("~/bundles/ourjavascriptcode")
We are doing precompilation of our csthml pages
链接地址: http://www.djcxy.com/p/69120.html