Too Long; Didn't Read
Using data from database collections or from a 3rd-party source can be a powerful tool to enhance your site's functionality. You want to minimize the amount of data that is sent from the server to the browser. This article lists a number of approaches you can use, whether you're using a dataset or the Data API, to improve site's performance. Using a dataset, you should only retrieve the items that you need to display. You can also limit the number of items you retrieve when using code to populate elements.