on the client, i understand
fetch to pull from the local MiniMongo instance, making it cheap and scalable (with regard to server load). does Meteor keep any in-memory document cache on the server, or does every fetch incur a database hit?
i’m particularly curious about
Meteor.user() - does this always perform a database hit?
i would assume that the connection keeps the current user’s id in process memory and that
Meteor.userId() is super cheap, but if
Meteor.user() is hitting the database every time that makes it fantastically more expensive.
this was a side thought while working on something else, so i haven’t really looked into it besides a few google searches that didn’t turn up much.