Implement smart group caching