Summary

This chapter discussed ways of limiting the number of requests that the browser makes to the server and the size of the requests and their responses. This is to make the visitor feel that the website is more responsive, and reduce the load on the server.

We first looked at introducing client-side validation, which does validation of user input on the browser, rather than only on the server. Here, we looked at ASP.NET validation controls which are easy to implement, but have relatively high overhead. We also saw the Validate plugin for jQuery, which has very low overhead, but is more difficult to use.

This was followed by five ways to send data from the browser to the server without a full-page refresh. These ranged from very easy to implement ...

Get ASP.NET Site Performance Secrets 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.