Start by preheating your oven and lining your baking pan with parchment paper. In a bowl, mix melted butter, sugars, vanilla, and sourdough until smooth. Then add flour, baking soda, and salt to form a soft dough.
Take about two-thirds of the dough and press it evenly into the prepared baking pan. Make sure the layer is compact and smooth so it bakes evenly. This will form the sturdy base of your bars.
In another bowl, toss the diced apples with cinnamon and nutmeg. Make sure the apples are evenly coated so every bite has a warm spice flavor. This step enhances the natural sweetness of the fruit.
Spread the apple mixture evenly over the crust layer. Try to distribute the apples well so the bars bake uniformly. This ensures every slice has a good balance of crust and filling.
Take the remaining dough and crumble it over the apples. Don’t press it down—leave it loose and crumbly for a perfect texture. This creates that classic crumble top once baked.
Place the pan in the oven and bake until the top is golden brown and the apples are tender. The aroma at this stage is amazing and fills the whole kitchen. Let the bars cool completely before cutting.
Once cooled, drizzle salted caramel sauce generously over the top. This adds richness and ties all the flavors together beautifully. Cut into squares and serve.