Regardless of expiration date, food can go off at any point based on a number of factors. Inadequate refrigeration is a common culprit, and this could have occurred long before you bring the food home. It’s important to learn the warning signs of spoilage so that you can assess the safety of your food, even when you can’t know its whole journey from farm to table. Shelf stable foods are heavily processed to make them last as long as possible. Frozen, canned, or dried goods are most likely okay to eat after the expiration date.