Blog

Showing 25–36 of 49 articles

APIs2 min read

Cursor vs offset pagination

Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this marker'. The difference matters as soon as the underlying data changes while you are reading it.

APIs2 min read

Cursor vs offset pagination, part 2

For part 2, we revisit the basics with a fresh example and a few lessons learned the hard way. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this…