6 medium Yukon Gold potatoes (2 pounds), peeled and thinly sliced on a
Salt and freshly ground pepper
1 tablespoon minced rosemary
1 tablespoon minced thyme
1 large onion, thinly sliced on a mandoline
3 tablespoons unsalted butter, cut into 1/4-inch pieces
1 cup heavy cream
1 cup milk
Preheat the oven to 400°. Butter a 9-by-13-inch baking dish. Layer one-fourth of the potatoes in the baking dish. Season generously with salt and pepper and sprinkle with some of the rosemary and thyme. Layer one-third of the onion over the potatoes and dot with some of the butter. Continue layering the remaining potatoes and onion, seasoning them with salt, pepper, rosemary and thyme and dotting with butter; end with a layer of potatoes. Combine the heavy cream and milk and pour over the potatoes. Dot the top with any remaining butter.
Bake the gratin in the oven for about 1 hour, or until bubbling and browned on top and the potatoes are tender when pierced with a knife. Let the gratin rest for 10 minutes before serving.
The baked gratin can stand at room temperature for 4 hours. Reheat briefly before serving.