Server side pagination and Virtual scrolling

Опубликовано: 12 Октябрь 2024
на канале: Krish Dinesh
2,202
90

Support my work: https://www.paypal.com/paypalme/Hello...
#nestjs #redis #serversidePagination

Server Side Pagination is when the server in which the data is hosted only returns a subset of the data requested by the Client. Ten thousand results may match our search criteria, but the server only sends a portion of the results back to the Client (which in this case is our webpage). Along with the subset of the query results, the server also sends us the total amount of results matching our query, and the location we are at within the query. These three pieces of data tell us the main things needed for pagination. What results we wanted, how many results there are, and wherein the list we are retrieving our results.

Getting only a portion of the results at a time gives us the ability to come back for more, loading additional items only when requested.

previous video (part 1)    • Develop super fast micro-services wit...  

GraphQL Master class:    • GraphQL Master class  


NestJS:    • NestJS  


Stay in touch:
Facebook:   / krish.dinesh.official  
Instagram :   / krish.dinesh.official  
twitter:   / krishantha   (@Krishantha)