The development of a systematic approach to food safety didn’t happen until the 20th century. And it's tied directly to NASA trying to make sure astronauts didn’t get food poisoning in space.
Research:

SYMHC Classics: Nelson Pill Hearings
38:25

Behind the Scenes Minis: Alaska and Contraceptives
28:17

The IUD: A History
44:41