Consuming less of this during pregnancy and the first years of life may lower the risk of developing dementia decades later.