What is saved locally?

210 views
Skip to first unread message

l...@beak.fo

unread,
Jan 28, 2016, 10:40:48 AM1/28/16
to Firebase Google Group
Hi

I can't seem to be able to find any information about what is actually stored locally, when using firebase.
Users can only read/write their own users/"$uid" area, but does this mean that the database does not sync all the other users' data locally? as this line seems to indicate:  "Every Firebase client maintains its own internal version of any active data." 

Is it possible to see exactly what is stored in the local firebase?

Thanks

Levi

Kato Richardson

unread,
Jan 31, 2016, 9:57:20 AM1/31/16
to Firebase Google Group
Hello Levi,

What you're asking about here are internal implementation details of the clients. If you start with your use case and constraints, it will help to narrow the scope to parts that actual matter to you.

What you would typically need to know about the local cache is:
  • We cache data you are listening to on the client
  • When you stop listening, it goes away (unless you use keepSynced() when on a mobile client)
  • You generally shouldn't concern yourself with cached or remote; just listen on paths and process the events
☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f49bda92-a266-48d0-b62a-3e2de4551402%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages