I have a question. Actually 3 questions: How long do edibles last? Do edibles lose potency over time? What is the best way to store edibles to preserve potency?
These are great questions!
How long do edibles last? They last however long the food itself lasts, and that will vary from edibles recipe to edibles recipe.
Edibles do not lose potency over time, at least not any significant amount. Likewise you can store them for however long the food itself is good.
The same goes for freezing cannabis edibles. You can store for longer periods in the freezer with no loss of potency. Store for however long that particular food would be stored if it did not contain cannabis. In other words, the addition of marijuana to foods has no effect on their storage and longevity.
Whenever possible I include freezing instructions with the recipes on this website and in my cookbooks. Prior to my cannabis career, I wrote The Complete Idiot's Guide to Easy Freezer Meals. Knowledge of how to successfully freeze foods is handy for cannabis cooks, as you probably will not want to, nor should you, chow down on a big batch of edibles all at once.
Freezing can make portion and dosage control easier and it lets you keep edibles on hand for whenever you need them. Not all foods are suitable for freezing, but many are. A good freezer cookbook (like mine, wink, wink) can teach you those basics.
Know that you can also freeze your cannabis-infused butter and oil for longer storage. Try to use within 6 months as fats can still go rancid in the freezer, but freezing will extend their usable shelf life. I like to freeze small portions in ice cube trays, then pop the cubes into a plastic freezer storage bag. When you want to cook with cannabis, take out the amount you need and proceed.