Most expiration dates are imaginary anyhow. Grocery stores throw away billions of dollars of "expired" food that is perfectly good every year. There are charities that specialize in salvaging this food. (See
Second Harvest.) I don't worry about printed expiration dates on cans and boxes but if you do, don't just chuck it. Give it away to a charity.
If something looks or smells or tastes strange, chuck it. Your senses are a far better indicator than a number stamped on a package.
Rinse off your vegetables and fruit. The food itself won't make you sick but the surface germs from being in the ground or the people who handle it might. It is
really easy to see if a plant food has gone bad.
All the sanitation rules for handling raw meat need to be followed. If you have reptiles as pets, be sure to wash your hands before handling food. Reptiles can harbor salmenella.
Food in the freezer never goes bad as long as it stays cold. (It
may dry out or get freezer burn.) Don't defrost it until before you are ready to eat it.
Food in a can on a shelf lasts for many years. Check the can to see if it is bulging or has a leak. Packaged dry food (grain-based) can be infested by weevils and other bugs. Bugs can chew right through a wax paper or plastic wrapper. For long-term storage, freeze them in a sealed plastic bag for a few days before putting them on the shelf because most uncooked grain-based products contain weevil eggs and this will kill them. Weevil infestation is
really obvious, so don't worry about it
Keep your fridge around 34-35 F (2 C). Keep your freezer as cold as it will go. If you tend to have empty space, fill it up with water bottles that are 90% full (so they don't burst when frozen). That adds thermal mass so it doesn't cool off as quickly should the power go down.
If you lose power for more than a few hours, toss all the uncooked meat in the fridge. A full freezer can stay cool for a day or more
if you don't open it. While the power is down, don't open the fridge or freezer unless absolutely necessary because that will cause everything to warm faster. Here's a handy chart for how long food stays safe if power is gone.
Food Safety During Power Outage