Add coconut and nuts, if using. Stir until just combined. Batter will be wet.
1 cup sweetened shredded coconut, 1 cup chopped pecans or walnuts
Pour batter into prepared baking pan, smoothing as necessary.
Bake for 30-40 minutes, or until a wooden toothpick inserted in the center comes out clean.
To make the buttermilk glaze
While the cake is baking, prepare the buttermilk glaze.
In a saucepan, combine, sugar, buttermilk, butter, and baking soda. Use a large enough saucepan to allow mixture to bubble up as it cooks.
1/2 cup granulated sugar, 1/4 cup buttermilk, 1/4 cup butter, 1/4 teaspoon baking soda
Bring mixture to a boil, stirring constantly.
Boil for 4 minutes.
Remove from heat, and stir in vanilla. You should have 1/2 cup of buttermilk glaze.
1 teaspoon vanilla extract
When the cake is finished baking, remove from oven.
Immediately brush buttermilk glaze over hot cake.
Let cake cool in the pan on a wire rack to room temperature.
To make the cream cheese frosting
Beat cream cheese and butter together until light and fluffy.
8 ounces cream cheese, 1/4 cup butter
Add powdered sugar and vanilla; beat until smooth.
1 cup powdered sugar, 1 ½ teaspoons vanilla extract
Turn mixer up to high and beat for an additional 2-3 minutes.
Drop spoonfuls of frosting over the cake.
Carefully spread the spoonfuls together to cover the cake. Spreading in one direction will help to prevent the cake from coming up into the frosting.
Store any leftover cake covered in the refrigerator.
Video
Notes
Spices: Feel free to add additional spices if would like.
Buttermilk: You can make a quick substitute with this recipe. Feel free to use regular or low-fat buttermilk.
Oil: Another neutral oil will work. You can also substitute in melted coconut oil.
Pineapple: I pour the juice off, but I don't squeeze the pineapple dry.
Butter: I use salted butter. If you use unsalted butter, add a pinch or two of salt to taste.
Glazing the cake: There may still be a layer of glaze on the cake when you frost it. I've found that it soaks into the cake completely if I chill the cake. If you're worried about frosting the cake with that layer of glaze still there, just cover the cake, and let it chill for a bit. Then, frost as you normally would.