Heat the oven and grease the dish. Preheat the oven to 180 C (350 F). Butter a 2.5-litre baking dish generously, about 20 x 30 cm. The butter stops the bottom layer sticking and adds flavour to the crust.
Warm the cream. Put the thickened cream, milk, crushed garlic, thyme, salt and pepper in a small saucepan. Warm over medium heat until just steaming. Take it off the heat. Do not let it boil. Warm cream flows between the layers and heats evenly.
Slice the potatoes. Slice the peeled potatoes about 3 mm thick, roughly the thickness of a coin. Use a mandoline or V-slicer if you have one. Keep the slices as even as you can. Even slices cook evenly. Thick slices stay hard while thin ones turn to mush.
Layer the dish. Layer a third of the potato slices in the dish, overlapping them slightly. Scatter over half the onion and a third of the tasty cheese. Repeat, then finish with a final layer of potato. Pour the warm cream mixture over the top, pressing the potatoes down gently so they are mostly covered.
Bake covered. Cover the dish tightly with foil and bake for 45 minutes. The foil traps steam, so the potatoes cook soft all the way through. Do not peek. Every time you lift the foil, the steam escapes and the bake takes longer.
Bake uncovered. Remove the foil. Scatter over the rest of the tasty cheese and the parmesan. Bake uncovered for 25 to 30 minutes more, until the cheese is golden and a knife slides through the potatoes easily. If the top browns too fast, lay the foil loosely over it for the last 10 minutes.
Rest and serve. Stand the bake for 10 minutes before serving. The sauce thickens as it cools slightly, and the layers hold together when you spoon it out. Cut into it too soon and it runs everywhere. Scatter over a little extra thyme and serve warm.