01 -
Preheat oven to 350°F. Spray a 9x13-inch baking pan with cooking spray. Line the bottom and two long sides with parchment paper.
02 -
Prepare chocolate cake mix according to package directions using water, eggs, and oil. Stir in instant espresso powder if using. Pour batter into prepared pan and smooth surface.
03 -
Process ricotta cheese, granulated sugar, brown sugar, eggs, vanilla extract, and kosher salt in a food processor until smooth, about 30 seconds. Pour evenly over cake batter, covering it completely.
04 -
Bake 1 hour to 1 hour 10 minutes until cake rises to top and a tester inserted in center comes out clean. Cracks or ricotta streaks on surface are normal. Transfer to wire rack; cool completely, about 2 1/2 hours.
05 -
Whisk instant chocolate pudding mix and cold whole milk until dissolved and thickened, about 2 minutes. Let stand 1 minute. Fold in thawed Cool Whip until fully combined.
06 -
Spread topping evenly over cooled cake. Loosely cover with plastic wrap and refrigerate at least 4 hours or overnight before serving.