You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a somewhat long-running route that gets paginated data from a third party and uses apicache to cache the result of it. After adding Redis, I've noticed that I don't reliably get back the full dataset from the cache.
It's as if the data that's being cached is being streamed to the database, and the call that gets there second sees that there's one page of data in the cache and uses that as if it were the full response.
I'm working on a minimal sample, but wanted to know if this sounded plausible.
The text was updated successfully, but these errors were encountered:
I have a somewhat long-running route that gets paginated data from a third party and uses
apicache
to cache the result of it. After addingRedis
, I've noticed that I don't reliably get back the full dataset from the cache.It's as if the data that's being cached is being streamed to the database, and the call that gets there second sees that there's one page of data in the cache and uses that as if it were the full response.
I'm working on a minimal sample, but wanted to know if this sounded plausible.
The text was updated successfully, but these errors were encountered: