Firebase-js-sdk: Significantly decreased performance with persistence enabled

Created on 15 Feb 2018  路  7Comments  路  Source: firebase/firebase-js-sdk

  • Operating System version: any
  • Firebase SDK version: v4.9.1
  • Firebase Product: Firestore

Originally posted by @yankedev here, but in the other issue which tracks something else. I'm experiencing the same problem with my app, which loads faster in the incognito window/with cleared cache than when data is persisted in IndexedDB.

Steps to reproduce:

Uncomment angularFire.enablePersistence() in app.module.ts and reload the page:
https://stackblitz.com/edit/ionic-watdjp

Watch logs in the console.

firestore

Most helpful comment

We made some significant speedups in #1055, but this hasn't made it into a release yet.

All 7 comments

Hmmm this issue does not seem to follow the issue template. Make sure you provide all the required information.

@mikelehen FYI since he was on the original issue :)

This is on my radar to investigate but I haven't gotten a chance yet. Sorry for the delay!

Any status on this?

We made some significant speedups in #1055, but this hasn't made it into a release yet.

This was released as part of the Firebase JavaScript SDK 5.3.1.

If folks are still seeing unexpected performance issues, please open a new issue with details. Thanks!

Was this page helpful?
0 / 5 - 0 ratings