enable cache for entity resource loader