Food preservation is a branch of magic that is both advanced and not-so-advanced. It comes down to the commonly used enchantment found in almost every home, normally called simply the Preservation Enchantment, the spell is weak enough to be enchanted into a cabinet and can extend the shelf life of all foods by weeks. It's so common that food waste is significantly less than humans ever achieved.