Another option for fans of homemade goods with a long shelf life are twice-baked cookies, such as the biscotti. Because they go through the process of baking twice, they are likely to last up to two weeks. Similar to bar cookies, you can't freeze the dough, but this time up to six months.