1

So all of a sudden, firestore is fetching old data. I Assume its caching it or something? Randomly started doing it today.

DocumentSnapshot testSnapshot =
    await collRef.document('j7VTRjlHiPd6W6x0x7IzFzi7BJq1').get();

enter image description here

That is stale data, as seen below

How on earth do I fix this, and why did this happen?

1 Answer 1

2

I deleted the record, and created a new record.

No idea, and no reason the data was cached. Hope this doesn't happen on prod.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.