Skip to content

Pagination โ€” cursor vs offset

Stub page

When to use which, with copy-paste implementations.

Planned content

  • Offset/limit: simple, fine for small bounded sets
  • Keyset/cursor: stable under writes, scales further
  • Encoding cursors (base64, signed)
  • Response envelope conventions