add friend cache
Merge pull request #59 from Yaliang/master

add friend cache