API Design · Middle · Question 14 of 75

Why is returning a total count with every page sometimes a problem?

Explanation

Many UIs only need 'is there a next page?', which cursor pagination answers cheaply.

Further reading

Problem with a question

API Design · Middle · question 14

Test yourself

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

Take this quiz