Querying Pagination & Server-side Caching
TLDR Ivy asks about pagination stability, and Jason confirms it depends on data consistency. Ivy considers using server-side caching.

Apr 11, 2023 (5 months ago)
Ivy
06:52 PMJason
07:10 PMJason
07:10 PM
Jason
07:10 PMIvy
07:11 PMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Pagination of Data with Different Page Sizes
Jameshwart inquires about pagination with different page sizes. Jason advises on pagination using 'per_page', 'found', and 'modulo'. Kishore Nallan suggests using 'offset' and 'limit' for flexible pagination.
Typesense Pagination and Caching Concerns
Michal expressed concerns about Typesense costs and pagination for an infinite scroll app. Kishore Nallan suggested fetching 250 results upfront and mentioned Typesense doesn't cache per page result sets.
Pagination and Determining Next Page
Gustavo asked about pagination and determining the next page. Jason suggested using the `found`, `per_page`, and `page` keys to calculate the total number of pages.