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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access