do not set cache while list is empty