Web & APIsBeginner
Pagination
Pronunciationpaj-ih-NAY-shun
Definition
Splitting a long list of results into smaller pages, so the server and the app do not handle everything at once.
Where you hear it
List APIs, admin dashboards, and performance reviews.
Examples
The endpoint supports pagination with
pageandlimit.Without pagination, the response would contain 50,000 rows.
Common mistake
Returning all records "for now". It works in development and breaks in production when data grows.