Pagination is a user-friendly way of presenting huge data to the user. Generally, data is divided into a number of pages and a numbered links of all pages is shown for better navigation. Recently, instead of pagination, infinite scrollers are used.
Questions tagged [pagination]
40 questions
13
votes
3 answers
What are best practices for caching paginated results whose ordering/properties can change?
What is the best practice for caching paginated search results whose ordering/properties can be changed?
Say, in my application, someone wants to see the last 20 discussion threads (out of 10,000). A request would be sent to the database, via…

goodsquishy
- 347
- 2
- 3
- 8
12
votes
3 answers
Question on design of current pagination implementations
I have checked pagination implementations on asp.net mvc specifically and i really feel that there is something less efficient in implementations.
First of all all implementations use pagination values like below.
public ActionResult…

Freshblood
- 1,515
- 10
- 23
11
votes
3 answers
Implementing paging with multiple data sources
I have multiple data sources that I need to search across and return back to the client (web app).
For example the sources are:
an elastic search index
a sql database
Is there an efficient way to perform paging across two sources? At the moment I…

Prabu
- 241
- 1
- 3
- 7
11
votes
2 answers
API pagination, how to implement page token paging method?
I am working on implementing an API interface for my project.
As i know, there are different forms to make pagination through the results, like the following:
https://example.com/api/purchaseorders?page=2&pagesize=25
But, i see many APIs like…

Karim Harazin
- 219
- 1
- 2
- 4
11
votes
4 answers
Does having pagination lessens server load? (theory)
I was wondering what is the reason behind pagination? Is it used because it lessens the burden on the servers since we would technically limit the amount of rows returned per page?
I wanted to do something without pagination but given that I am new…

Sam Khan
- 211
- 2
- 4
8
votes
4 answers
Pagination with API
I'm currently building an opensource administration interface to help people easily manage their contens/websites.
Application built on Vue.js and heavily rely on json configurations for which fields to show or which data to send server via…

Onur Özkan
- 191
- 4
7
votes
1 answer
Implement pagination which memorizes where we left off?
Let's pick a relation database table (say an audit table) with high write rate. We can display 100 records at a time. But as a user don't want to see some the records on page 1 on page 2 when a couple more new records are added.
I thought about…

CppLearner
- 422
- 4
- 10
7
votes
2 answers
how to paginate and combine results that come from different sources sorted
I have the following scenario:
I have a user that needs to see some news feeds from different sites and I want to paginate them and sort them by date. The problem is I don't understand how to do that schemantically.
Fetch top-N from each site and…

arisalexis
- 409
- 3
- 10
6
votes
2 answers
REST API paging via headers
Let's say I have REST API which provides me list of something and I want to implement paging support - possibility to tell "give me records 20-29 (page 3)". Currently, I don't care about implementation server-side, but about how client tell API he…

Pavel Štěrba
- 319
- 1
- 3
- 8
6
votes
5 answers
Display large amount of data to client through pagination
I have a web application in which i need to show a big number of data or records for clients. Now i 'll use pagination but i was wondering should I:
Load all the data once then pagination, sorting and sarching 'll be easy..But it 'll takes big…

ebram khalil
- 161
- 1
- 1
- 5
4
votes
2 answers
Optimization of a hybrid pagination scheme
I'm working on a Web Application using node.js in which I'm building a partial copy of the database on the client-side to decrease the load on my server. Right now, I have a function like this (expressed as python-style pseudocode, but implemented…

Kaustubh Karkare
- 141
- 5
3
votes
4 answers
Is it possible to cache data on a REST service that returns paginated data?
Under the REST architecture principles, a RESTful application should be stateless, therefore each time I invoke an ASP.NET 4 REST service (with GET verb) that pulls tens of thousands of records, the REST service paginates them with in chunks of 10…

Rikai no hōhō
- 139
- 1
- 4
3
votes
1 answer
How does I/O occur for large data files?
Assume that we have a 4GB RAM processor. Let's say we want to play a 4GB movie in VLC player. Now, processor first starts VLC Process and then starts to load 4Gb data. My question is how does this data transfer occur, Is it like getting almost all…

AV94
- 161
- 5
3
votes
0 answers
Realizing pagination for merged array from multiple data sources (APIs)
I'm improving a WordPress theme with PHP. The theme contains a gallery section which loads data from the Flickr API.
Now the client wants to display Flickr galleries as well as "local" galleries without disclosing where a particular gallery is…

Julian F. Weinert
- 131
- 6
3
votes
1 answer
How to paginate local and remote data?
My team is currently facing a problem that we don't know how to tackle.
Some technical details: we use Java 8, Hibernate, Spring, MySQL, and AngularJS for the front-end.
We need to do pagination on a combined set of local and remote data. The…

pgs
- 33
- 5