Ruben
Ruben

Reputation: 836

How much of mini mongodb is kept after restarting meteor app

I'm wondering how much data is kept in mini mongodb (client side) after a meteor app restarts. It seems like the user collection keeps the connected user information, since my app sign in automatically in offline mode, but I could not find any other collections I had locally before the restart (using the app offline).

I'm trying to allow my users to access some data when they have previously restarted their phone or app, perhaps they dont have internet connection at the moment. Thanks in advance.

Upvotes: 0

Views: 55

Answers (1)

mutdmour
mutdmour

Reputation: 543

To see how minimongo handles your data in chrome, checkout this extension or this. You will see that every time you refresh a logged-in user, Meteor only subscribes to what Meteor.user() returns.

I have not tried this. But here's how how someone solved this exact issue with GroundDB and configuring appcache.

Upvotes: 1

Related Questions