Ditto the above. However, I find that some shortbread crusts that you press into the pan rather than rolling out will stick if the dish is not buttered.
Assuming you're making a pastry-based tart, the pastry itself has enough butter/fat to ensure it doesn't stick to the pan. It will also contract a touch when baking (hopefully not too much!).
3 Comments