Preheat the oven to 170°C (340°F) and grease a 9-inch springform pan.
In a large mixing bowl, beat the ricotta cheese until smooth and creamy.
Add the sugar and mix until fully combined.
Beat in the eggs one at a time, mixing well after each addition.
Stir in the cooled espresso and vanilla extract.
Fold in the flour until the batter is smooth and lump-free.
Pour the mixture into the prepared springform pan and smooth the top.
Bake for 50–60 minutes or until the center is set and the top is lightly golden.
Allow the cheesecake to cool completely at room temperature.
Refrigerate for at least 4 hours or overnight for the best texture.
Dust with cocoa powder before serving, if desired.