However, those who drink coffee all day do not get the same benefit, researchers found.