Chopped fresh chivesthyme, or parsley, optional for serving
Instructions
Place a rack in the center of your oven and preheat to 375 degrees F. Coat a 9x13 inch casserole dish with nonstick spray and set aside.
In a medium pot or skillet with high sides, melt the butter over medium-low heat. Add the onion. Cook for 8 to 10 minutes, stirring often, until translucent. Adjust the heat as needed so the onion softens but does not brown. Stir in the garlic and cook just until fragrant, about 1 minute more.
Turn off the heat. Stir in the milk, broth, 1 teaspoon of the salt, and the black pepper. Set aside.
Peel the potatoes. With a mandoline slicer (this is the easiest!) or a sharp chef's knife, carefully cut the potatoes into VERY thin slices (about 1/8-inch thick; don’t cut larger or they may not cook through). Place the potato slices in a large bowl and sprinkle with the flour and remaining 1/2 teaspoon salt. With your hands, toss to combine
Spread one-third of the sliced potatoes in the bottom of the prepared dish. Spoon 1 cup of the milk-broth mixture over the top and sprinkle with 2/3 cup of the ham and one-third of the shredded cheddar cheese. Repeat layers twice more, so you have 3 layers each of potato, milk-broth, ham, and cheddar (you’ll end with the cheddar).
Lightly mist a large piece of aluminum foil with nonstick spray. Cover the dish with the foil, placing it spray-side down, and bake for 35 minutes. Uncover and bake for 25 additional minutes.
Remove the dish from the oven and sprinkle with the Parmesan cheese. Turn the oven to broil. Return the pan to the oven and let broil until the cheese is golden brown and bubbly, about 1 to 3 minutes (keep an eye on it!).
Sprinkle with the herbs. Allow the dish to stand at room temperature for 20 to 25 minutes to allow the milk mixture to set and thicken. Enjoy hot, with additional salt and pepper to taste (the amount of salt you need will vary based on the saltiness of your ham and broth).
Notes
TO STORE:Store leftovers in an airtight container after cooled in the refrigerator for up to 4 days.
TO REHEAT: You can make these potatoes ahead and reheat them. Gently reheat leftovers in an oven-safe baking dish covered with foil in the oven at 350 degrees F until warmed through, adding additional splashes of milk as needed. You can also reheat this dish in the microwave until hot, though I recommend the oven for the best texture.
TO FREEZE: Store cooked and cooled leftovers in a freezer-safe storage container in the freezer for up to 3 months. Let thaw in the refrigerator overnight before reheating. Note that potatoes do tend to become mealy when frozen, so only freeze as a last resort, or if you don’t mind a less than optimal texture.
MAKE-AHEAD: If you know you’re going to freeze your potatoes, I recommend not cooking them all the way. The potatoes will hold up better in the freezer, and you will finish the baking process when you’re ready to reheat them.