Cooling your casserole before freezing can stop the casserole from cracking, in addition to preventing bacterial growth. The traditional way to cool a casserole is to put the dish on a cooling rack, but if you're in a hurry, just cut the casserole into smaller pieces and store them in a freezer-safe container to cool off.