Ingredients
![](https://static.wixstatic.com/media/5c77a5_8559b5c7ee1f445cb0e5a1cbb2a52a16~mv2.jpg/v1/fill/w_800,h_1000,al_c,q_85,enc_auto/5c77a5_8559b5c7ee1f445cb0e5a1cbb2a52a16~mv2.jpg)
2 tablespoons unsalted butter
1 medium yellow onion, thinly sliced
4 sprigs fresh thyme, plus more for garnish
1 1/2 teaspoons kosher salt
1 teaspoon freshly ground black pepper
1 teaspoon all-purpose flour
1/4 cup dry white wine, such as Pinot Grigio
1 1/2 cups low-sodium beef broth
2 1/2 pounds large Yukon Gold potatoes (4 to 6), peeled and sliced 1/8-inch thick
4 ounces shredded Gruyère cheese (about 1 cup), divided
4 ounces finely grated Parmesan cheese (1 cup store-bought grated), divided
1/2 cup heavy cream
Directions
Heat the oven to 350°F.
Melt 2 tablespoons unsalted butter in a 10-inch cast iron or ovenproof high-sided skillet over medium heat. Add 1 thinly sliced medium yellow onion, 4 fresh thyme sprigs, 1 1/2 teaspoons kosher salt, and 1 teaspoon black pepper. Stir to combine, cover, and cook undisturbed for 5 minutes. Uncover, stir, cover again, and cook for 5 minutes more.
Uncover and continue to cook, stirring occasionally at first and then more frequently once the onions start to brown, until the onions are a rich caramel brown color, 8 to 15 minutes more.
Sprinkle 1 teaspoon all-purpose flour over the onions, stir well, and cook for about 1 minute to lightly toast the flour. Stir in 1/4 cup dry white wine and cook, scraping the bottom of the skillet, until absorbed, about 1 minute.
Remove the skillet from the heat. Stir in 1 1/2 cups low-sodium beef broth. Remove and discard the thyme stems.
Arrange 2 1/2 pounds peeled and sliced Yukon Gold potatoes vertically in the skillet: Stack about 10 slices at a time, then lay the stack on its side in the skillet and push down on it a little for a slight shingling effect.
Stir 2 ounces of the shredded Gruyère cheese and 2 ounces of the grated Parmesan cheese together in a small bowl. While using one hand to riffle through the potato slices (like flipping through pages in a filing cabinet), sprinkle the cheese mixture with the other hand so a little gets in between each slice. (Don’t worry about getting it in every crevice.)
Place the skillet on a rimmed baking sheet. Transfer to the oven and bake for 30 minutes. Meanwhile, place the remaining 2 ounces Gruyère and 2 ounces Parmesan in the now-empty cheese bowl. Stir in 1/2 cup heavy cream.
Spoon the cream and cheese mixture evenly over the potatoes. Return to the oven and bake until the top is deep golden-brown with dark brown splotches, and the potatoes are tender, about 30 minutes more.
Let cool for 20 minutes. Garnish with fresh thyme leaves before serving.