Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

add-cached-cursor-pagination.md

7 lines484 Bytes

Add createCursorPager to fulfill offset/limit requests from endpoints with opaque continuation tokens. Reuse fresh backend pages through the existing QueryClient, with Query-managed expiry, invalidation and garbage collection, while retaining the existing UI peek-ahead behavior.

Keep manual raw-row writes from overwriting other cache formats or marking them fresh. Preserve wrapped-response writes and seeding of empty row caches.