Keep the cake in a sealed container in the refrigerator and it should last up to 4 days. The cooked star fruit helps to keep the cake moist.