pagination, offset/limit versus cursor-based. dont you think?
Natalia Vallejos
·9585 views
Hey everyone,
I've been giving some thought to how we handle pagination in our APIs. We've pretty much stuck with offset/limit for everything, but honestly, it's starting to feel a little awkward. Large datasets can really slow things down when those offsets get massive.
I'm wondering what strategies other people are using. Have you found cursor-based pagination to be a big help? What have been the downsides you've run into, and are there times when offset/limit is still the better choice?
Can't wait to hear what you all think!
27 comments