Safe storage for frosted cake with cream cheese frosting:
Refrigerate the frosted cake and bring to room temperature 30 minutes before serving.
Or store the cake and frosting separately - keep frosting refrigerated, cake covered tightly in the refrigerator or at room temperature, then frost as needed.
Store leftover cake covered tightly in the refrigerator for up to 5 days.