Preheat oven to 190°C (375°F). Lightly oil the 9x13 inch dish and set aside. You want a hot oven to encourage a crisp potato exterior.
In a large skillet over medium-high heat, add olive oil. When it shimmers, add diced potatoes and a pinch of salt. Cook 10-12 minutes, stirring occasionally, until edges turn golden and slightly blistered. The aroma will be toasty and nutty.
Add chopped onion to the skillet and cook 4 minutes until translucent and glossy. Stir in garlic for 30 seconds until fragrant - don’t let it brown aggressively.
Transfer the potato mixture to the prepared baking dish, spreading into an even layer so each bite gets crisp edges and soft centers.
In a bowl, whisk eggs, milk, cream, salt, and pepper until homogeneous and slightly frothy. The froth traps air for a lighter custard texture.
Sprinkle half of the cheddar and all of the cooked bacon or ham evenly over the potatoes. Pour the egg mixture slowly so it settles between potato pieces without washing them away.
Top with remaining cheddar and scatter chives. Cover loosely with foil and bake for 25 minutes, then remove foil and bake an additional 15-20 minutes until the custard is set and the top is golden brown with bubbling cheese.
Let rest 10 minutes before slicing. The aroma will be savory and herbaceous, and the texture should be creamy inside with crisp, golden edges.