To ensure that canned food lasts a long time, it is important to follow the preservation rules and thoroughly sterilize the jars.