#master: better caching of friends