card-web icon indicating copy to clipboard operation
card-web copied to clipboard

Re-enable firestore persistence with enableIndexedDbPersistence

Open jkomoros opened this issue 2 years ago • 0 comments

Persistence was turned off in #528 , because enableIndexedDbPersistence 's promise was never being resolved or rejected when running in a browser where there had been persistence enabled with the v8 firestore.

It turns out to not be that big of a deal; even without persistence the cache updates happen as soon as the batch is committed, before the server fully acks, so the UI can update quickly.

Presumably this might make reloads of the app slower, but in practice it didn't seem like it make a big difference in the first place. Tracking just for completeness.

jkomoros avatar May 23 '22 18:05 jkomoros