Hacker News new | past | comments | ask | show | jobs | submit login

Cursor based pagination is a good idea for APIs because it allows for more flexibility in how data is displayed to the user. It also helps to prevent large amounts of data from being returned all at once, which can cause performance issues.



> It also helps to prevent large amounts of data from being returned all at once, which can cause performance issues.

Isn't that the point of all pagination, regardless of how it's implemented?


> It also helps to prevent large amounts of data from being returned all at once, which can cause performance issues

You can also limit page size and accomplish the same thing.


All pagination can help prevent large amounts of data being returned all at once.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: