using cache or not for data source get by key