Soft cheeses with a high moisture content — such as brie, ricotta, or cottage cheese — should not be kept for more than a week in the fridge, while semi-soft and semi-firm cheeses — including Gouda, Cheddar, and Swiss — have a shelf life of several months and can be eaten for up to three weeks past expiration. When it comes to expiration dates, do your own research to prevent wasting an otherwise safe food item.