Preheat your oven to 160°C (320°F) with the fan setting on (refer to note 1 if your oven doesn’t have a fan function), and grease or line two 8-inch cake pans (homemade cake release works well).
In a medium bowl, sift together the flour, cornstarch, baking powder, and salt. Use a whisk or fork to mix thoroughly until the dry ingredients are well combined, then set aside.
In a large mixing bowl, combine the butter, vegetable oil, granulated sugar, and light brown sugar. Using an electric mixer—either hand-held or a stand mixer (see note 2)—cream the mixture for about 2 minutes until it becomes light, fluffy, and creamy.
Add the eggs one at a time, mixing well after each addition for about 10 to 15 seconds between each.
Next, mix in the sour cream and vanilla extract until fully incorporated. At this point, put the mixer aside as the rest of the batter will be mixed by hand.
Add half of the dry ingredient mixture to the wet ingredients and gently fold in with a spatula until just combined. Pour in the milk and fold again until just combined. Finally, add the remaining dry ingredients and fold gently until no streaks remain. Be careful not to overmix (see note 3).
Divide the batter evenly between the two prepared pans and bake for 28 to 30 minutes, or until a toothpick inserted into the center of the cakes comes out clean.
After baking, allow the cakes to cool in their pans for 15–20 minutes, then carefully turn them out onto a wire rack to cool completely before frosting with the caramel.