Limiting data rows for lists

If your Salesforce SOQL query is fetching large amount of results, consider limiting the number of data rows by using a LIMIT clause and using server-side pagination.

Look for opportunities where data from the server can be lazy loaded. For example, if you have three tabs, load data only for the first tab that will be rendered on the screen. Render the data for the second tab only when a user clicks the second tab.