Implemented friends cache