What factor influences when food is refrigerated to prevent spoilage?​