Currently, only the results of hasRight(login, right, context) are cached. The results of getUserRights(login, context) and getUserRights(login) should be cached too.