Recipe 12Displaying Information with Endless Pagination

Problem

To prevent information overload for our users and to keep our servers from grinding to a halt, it’s important to limit how much data is shown at once on our list pages. This is traditionally handled by adding pagination to these pages. That is, we show only a small subset of data to start with while allowing the users to jump among the pages of information at their own discretion. What they see is a small part of all of the information that is potentially available to them.

As websites have evolved, web developers have learned that most of the time users go through these pages sequentially. They would actually be happy to scroll through an entire list of data until they find ...

Get Web Development Recipes, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.