Want to change Cache size from 40MB to Unlimited on AngularFire2

162 views
Skip to first unread message

CMED Health

unread,
May 18, 2019, 10:35:21 AM5/18/19
to Firebase Google Group

I have a web application in Angular 6 with firebase firestore (Angularfire). It is offline capable but its cache size is by default 40MB which i need to change to Unlimited.


If anyone have any tutorial or description to do that.


Thanks.

Kato Richardson

unread,
May 21, 2019, 11:43:55 AM5/21/19
to Firebase Google Group
Hello,

If you're caching more than 40MB of Realtime Database or Firestore data, that's not going to scale well, nor will it be a good practice to try and keep that much data in localStorage in the browser.  It's likely to be very slow and expensive.

With any luck, this is an XY problem. I'd recommend starting with the end goal and maybe we can work backward to a better solution.

☼, 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/9a915e40-8aa3-4a5d-a1d9-ceae9b1dcadf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages