I would have thought a major element being the understanding of germs, enough to start seeing why it might be a problem.
It wasn't fully accepted until 1880. So, before that, they wouldn't have been sure why there was a problem. So, there would have been a "It just wasn't done right, last...