The disease is spreading with terrifying speed but crucial lessons have been learned from previous epidemics.