01 -
Melt the butter in a large skillet over medium-low heat. Add the onions and a pinch of salt. Cook for 20 to 25 minutes, stirring occasionally, until deeply golden and jammy. Stir in the thyme and remove from heat.
02 -
Preheat the oven to 375°F (190°C). Peel the potatoes and slice them about 1/8 inch thick. Grease a 9x13-inch baking dish with butter or cooking spray.
03 -
Spread half the potato slices in the dish. Top with half the caramelized onions, half the cream, half the broth, and a sprinkle of salt and pepper. Repeat with the remaining potatoes, onions, cream, and broth.
04 -
Cover the dish tightly with foil and bake for 45 minutes, until the potatoes are nearly tender when pierced with a paring knife.
05 -
Remove the foil, scatter the Gruyère and mozzarella evenly over the top, and bake uncovered for 15 to 20 minutes until the cheese is browned and bubbling at the edges.
06 -
Let the bake sit at room temperature for 10 minutes so the creamy base sets. Slice or scoop to serve.