The unbaked gratin can be refrigerated overnight. Return to room temperature before baking.
Farmer cheese is a form of cottage cheese that has had the liquid pressed out of it. It's slightly tangy with a dry texture that makes it great for crumbling. Look for it at specialty-food stores or at cheese shops.