O'Reilly logo

ASP.NET MVC 4 Mobile App Development by Andy Meadows

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bundles

In ASP.NET MVC 4, the term bundle refers to one or more files, typically JavaScript or CSS, registered as a group with the runtime.

When a request for a bundle is made, the files comprising the bundle are appended to each other in a process called bundling. The bundled file then undergoes a minification process during which the file is stripped of comments and whitespace and the local variables' names, if present, are shortened.

Through the use of bundles, a client can reduce the number and size of requests it must make to the server to retrieve content. When applied to the world of mobile app development, bundling can have a substantial impact on an app's perceived performance.

Tip

CDN support

While not discussed in this chapter, bundles also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required