Posts

Showing posts with the label Minification

Performance Optimization – Bundling and Minification in ASP.NET MVC

Image
Before getting you into the details of performance optimization, let me give a brief note on Bundling and Minification of JS/CSS files. What is a Bundle? A bundle is simply a logical group of files that could be referenced by a unique name and loaded with one HTTP request. You can create a bundle for JavaScript and CSS. What is Minification? It’s a process of removing unnecessary whitespaces, line breaks and comments from code to reduce its size, thereby improving load times. Bundling and minification are the performance optimization techniques that can help to improve load time by reducing the number of requests to the server and reducing the size of requested assets (such as JavaScript and CSS). Scenario without Bundling and Minification Most of the current major browsers limit the number of simultaneous connections to six per hostname. This means that while six requests are being executed, any additional requests for assets on ...