Cache implementation for Groups and Contacts