Skip to content

Significantly decreased performance with persistence enabled #513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
merlinnot opened this issue Feb 15, 2018 · 7 comments
Closed

Significantly decreased performance with persistence enabled #513

merlinnot opened this issue Feb 15, 2018 · 7 comments

Comments

@merlinnot
Copy link
Contributor

  • 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.

@google-oss-bot
Copy link
Contributor

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

@nicolasgarnier
Copy link
Contributor

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

@mikelehen
Copy link
Contributor

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

@larssn
Copy link

larssn commented Aug 3, 2018

Any status on this?

@wilhuff
Copy link
Contributor

wilhuff commented Aug 3, 2018

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

@wilhuff
Copy link
Contributor

wilhuff commented Aug 6, 2018

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

@mikelehen
Copy link
Contributor

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

@firebase firebase locked and limited conversation to collaborators Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants