1. Mix the flour, cornstarch, baking powder, and powdered sugar.
2. Incorporate the beaten 3 eggs, milk, softened butter, and vanilla extract.
3. Prepare a light brown caramel in a high-sided cake pan with sugar cubes and a little water. Let it cool.
4. Arrange the pineapple slices in a rosette pattern on the cooled caramel. Gently cover with the previous mixture.
5. Bake at 180°C for 30 to 40 minutes (a knife inserted into the cake should come out clean).
6. Immediately unmold the cake when it comes out of the oven (before the caramel hardens!!).
7. You can soak this cake in a mixture of pineapple syrup and rum, it will be even better!!!