When making a potato gratin, it is best to salt the milk or cream mixture rather than the potatoes directly. Because potatoes absorb liquid as they cook, seasoning the dairy ensures the salt is distributed evenly throughout every layer. Be sure to taste your liquid before pouring it over the sliced potatoes to get the seasoning just right.