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: Libertalia
32:21

Behind the Scenes Minis: Pirate Evolution
15:30

Thomas Henry Huxley
41:04