Cache caches the list of share ids for users/groups It functions as an in-memory cache with a persistence layer The storage is sharded by user/group.
SpaceShareIDs holds the unique list of share ids for a space.
UserShareCache holds the space/share map for one user.