The traditional advice to "feed a cold and starve a fever" might have an element of truth, as it appears to be based on sound science when a fever is caused by bacterial infection.
Scientists put the folk wisdom to the test using laboratory mice with bacterial and viral infections. They found that mice with flu - like the common cold, caused by a virus - were helped to recover and survive when they were fed. In contrast, feeding animals infected by bacteria only hastened their death.
‘Starvation during bacterial infection and staying away from glucose helps recovery while filling the tummy during flu or cold, helps cure it.’
The lead researcher Prof Ruslan Medzhitov, of the Yale School of Medicine in the US, said: "We were surprised at how profound the effects of feeding were, both positive and negative.
"Anorexia - not eating - is a common behaviour during sickness that is seen in people and all kinds of animals. Our findings show that it has a strong protective effect with certain infections, but not with others."
In the first of a series of experiments, mice were infected with listeria bacteria, a common cause of food poisoning. The animals stopped eating naturally, and eventually recovered. However, when they were made to eat, they died.
Sugary food was the culprit, the researchers discovered - the mice survived when they were fed protein and fats but no glucose.
A similar study of mice infected with the flu virus showed an opposite effect. In this case, the mice lived when they were force-fed glucose, but died when they were denied food.
Giving the animals a drug called 2-DG, which prevents glucose metabolism, saved the listeria-infected mice but proved fatal to those with flu.
Further research indicated that the different outcomes related to an interplay between metabolism and the immune system.
"Almost everything we know about infection is based on immune response studies and looking at how the immune system eliminates pathogens (harmful agents)," said Medzhitov. "But that's not the only way we defend ourselves. There are also cases where we change and adapt so that microbes don't cause harm.
"Our study manipulated the ability of these mice to tolerate and survive infection without doing anything that had an effect on the pathogens themselves."
The researchers also want to investigate why people sometimes display food cravings when they are sick.