Answer the question
In order to leave comments, you need to log in
Is it possible to implement pagination for API?
Hi all! I came across an interesting thing. What if the number of, say, news returned from the API will be more than 1000 for example? From the point of view of optimization, it would probably be more correct to give 20-30 of which, for example, per request. So. Is it possible and if so, how to implement such a feature so that 100500 news items are not returned at once, but are returned in small parts. And how in this case to implement the front? When flipping pages, send a request for the next batch of news or what?
Answer the question
In order to leave comments, you need to log in
Is it possible and if so, how to implement such a feature so that 100500 news items are not returned at once, but are returned in small parts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question