Pull groups from the cache instead of querying the database