cache data source summary queries