Preheat your oven to 350°F (175°C). Grease a baking dish or line it with parchment paper.
In a large bowl, combine the grated cassava, sugar, coconut milk, melted butter, eggs, vanilla extract, baking powder, and salt. Mix until well combined.
If using, add the desiccated coconut and ground nutmeg or cinnamon, and mix well.
Pour the mixture into the prepared baking dish and smooth the top with a spatula.
Bake for 45-60 minutes, or until the cake is firm and golden brown on top. A toothpick inserted into the center should come out clean.
Allow the cassava cake to cool in the dish for about 15 minutes before slicing.
Enjoy your meal!