-
1
Heat a large saute pan or Dutch oven over high heat for 2 minutes.
-
2
Swirl in 3 tablespoons olive oil, and add the onions, 1 teaspoon thyme, 1 teaspoon salt, and some pepper.
-
3
Cook 6 minutes, stirring often, and then turn the heat down to medium.
-
4
Add the butter, and cook 15 minutes, stirring and scraping with a wooden spoon, until the onions start to caramelize.
-
5
Turn the heat down to low, and continue cooking for about 10 minutes, stirring often, until the onions are a deep golden brown.
-
6
Remove the pan from the heat and set aside.
-
7
Preheat the oven to 350F.
-
8
Use a mandoline to slice the potatoes into 1/8-inch-thick rounds.
-
9
Toss them with the cream, 1 teaspoon thyme, 1 teaspoon salt, and some freshly ground black pepper.
-
10
Cut the tomatoes into 1/4-inch-thick slices, arrange them on a plate, and season them with 1 teaspoon salt and some pepper.
-
11
Place half the caramelized onions in an even layer in a 9-by-9-inch (or equivalent) gratin or baking dish.
-
12
Arrange one layer of alternating potatoes and tomatoes on top of the onion layer.
-
13
Drizzle with 2 tablespoons of the cream from the potatoes and 1 tablespoon olive oil.
-
14
Season with 1/4 teaspoon salt, a healthy pinch of pepper, 1/2 teaspoon thyme, and half the basil.
-
15
Scatter the rest of the caramelized onions over the potatoes and tomatoes.
-
16
Arrange another layer of potatoes and tomatoes on top; make this layer pretty, because it will be the top of your gratin.
-
17
Pour the remaining cream (from the potatoes) and remaining tablespoon olive oil over the potatoes and tomatoes.
-
18
Season with 1/4 teaspoon salt, a pinch of pepper, the remaining 1/2 teaspoon thyme, and the remaining basil.
-
19
Press the vegetables down with your fingers.
-
20
The cream and oil will come up through the layers and coat the vegetables evenly.
-
21
Cover the baking dish tightly with aluminum foil.
-
22
Bake about 2 hours, until the potatoes are tender when pierced.
-
23
Remove the gratin from the oven and uncover it, being careful of the steam.
-
24
Turn the oven up to 450F and return the gratin, uncovered, to the oven.
-
25
Cook another 25 to 30 minutes, until the juices have thickened and the top is nice and golden brown (as in gratineed).