HTML and CSS Reference
The minification process strips out white space and comments making the file more compact and
therefore faster to download. The bundling process automatically minifies the bundle. It uses a different
minification function for .css and .js files. The appropriate one is used by specifying either the StyleBundle or
ScriptBundle class. You can create your own minification function as well.
In this chapter you tried out a few very useful techniques that you may likely use in many of your web projects.
The features you used are:
Web workers - execute CPU intensive or slow operations on a separate thread to improve
Bundling - create custom bundles to download just the files you need in a single server
Minification - compress the referenced files for faster download.
In Chapter 6 , I'll show you how the HTML5 improvements can be used in create mobile-friendly web