While cooking methods like boiling may lead to some nutrient loss, lightly steaming or sautéing cruciferous vegetables can help retain their nutritional value, including eye-protective compounds.