Objective 3.6: Reduce network bandwidth

As a developer, you should always look for ways to minimize the amount of data sent over the network to optimize bandwidth. Doing so helps to ensure a good user experience, whether the user is on a high-speed connection or a slow dial-up link. One method is to ensure that only those items that are needed are sent to the client. You should clean up old, unused JavaScript files or methods that are still linked, and remove unused or redundant styles in your CSS files. You can also take advantage of bundling and minification, which are JavaScript and ASP.NET MVC features that remove extraneous information from scripts and merge them into a single script for download. You might find you have done all you can ...

Get Exam Ref 70-486: Developing ASP.NET MVC 4 Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.