You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should instead cache session token -> user id and user id -> user, then we can clear the cache when a user is updated without needing to query _Session.
The text was updated successfully, but these errors were encountered:
Currently we cache session token -> user, so that we don't have to query _User on every request. But, when a user is modified, we have to clear the cache for every session token, and to do that, we have to query the _Session table: https://github.com/ParsePlatform/parse-server/pull/1844/files#diff-3646535e0655c134862bb00401c8097cR325
We should instead cache session token -> user id and user id -> user, then we can clear the cache when a user is updated without needing to query _Session.
The text was updated successfully, but these errors were encountered: