You’re definitely right about pre-fetching, in a separate call for the next page. About fetching more than you need, I’m not sure, since the point of pagination is usually to display the records as soon as possible especially when you’re making B2B or industrial use applications that have tens of thousands of records and usually there’s some sort of sorting. And in the B2B applications that I’ve worked on, usually the costs of added HTTP calls have not been a factor. But maybe there’s a use case for which you’re right, with a more consumer facing application where the record retrieval on the server-side is also faster.

Talking about money, tech and how to make money from tech. Bitclout:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store