#community-help

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.

Powered by Struct AI
+11
5
5mo
Solved
Join the chat
Apr 11, 2023 (5 months ago)
Ivy
Photo of md5-2f39998c05c5409f8c3521187ec34d4e
Ivy
06:52 PM
Hi all! Beautiful docs first off, some of the best I've ever read 😁 Just a quick question regarding pagination: is each page a separate query that could return different or the same results depending on if data has been modified?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:10 PM
Thanks Ivy!
07:10
Jason
07:10 PM
If the data changes between requests, then yes the pagination will not be consistent across requests
+11
07:10
Jason
07:10 PM
But if the data is consistent, then pagination will be “stable”
Ivy
Photo of md5-2f39998c05c5409f8c3521187ec34d4e
Ivy
07:11 PM
Thank you! Good to know. I was thinking of using the server-side caching feature in that case.