New research suggests that dietary choices in middle age could significantly influence health outcomes in later years.