The way to make baked goods last is to keep the temperature consistent and cool. As long as the cake is below 30 degrees, it will not affect the quality of the baked goods.
Cooling a cake is actually a lot tougher than you might think. The temperature of the ingredients is often the biggest factor in how a cake will turn out. But as long as you’re keeping the temperature consistent, you should be fine. As for how long to cool a cake, the answer will depend on a variety of factors including the size of the cake (how big it is), whether it will hold its shape when baked, and how long it’s been sitting.
As of right now, it appears that it takes a minimum of 10 minutes for a cake to cool completely in the microwave. However, if you want to make sure your cake doesn’t burst, you can set it and forget it for a while.
This is the part of the process when the cake is the most important part to your success. Make sure your cake will last long enough to come out of your oven when it is finished and that it doesnt burst while you are cutting it open.