Preheat the oven to 350°F. Line a 9×13-inch baking pan with parchment paper, leaving some overhang for easy removal.
In a large bowl, combine the brown sugar, granulated sugar, flour, baking powder, cinnamon, espresso powder if using, and salt.
Add the softened butter and mix until the butter is incorporated and large crumbs begin to form. The mixture should be crumbly but should hold together when squeezed.
Use your hands to squeeze handfuls of the mixture together, then break it into large, chunky pieces. Don't crumble everything too finely, you want those big pieces.
Place the crumb topping in the refrigerator for 10–15 minutes while you prepare the rest of the cake.