API Design · Junior · Question 28 of 75

What's the difference between offset and cursor pagination?

Explanation

Cursors are stable and fast on large tables but don't allow jumping to page N. Offsets are simple and fine for small, slow-changing data.

Further reading

Problem with a question

API Design · Junior · question 28

Test yourself

Take the API Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz