A general recommendation is to buy what you would need to live at home for at least two weeks — and purchasing goods with longer shelf lives, like canned legumes and dried grains, is a strategic way to build up those reserves. But, there are also a handful of tactics (in the form of savvy storage buys) that you can employ to make your fresh foods last longer, too.