American Institute for Cancer Research Annual Research Conference found that the best way to cook vegetables is to steam it for three to four minutes instead of stir-frying, boiling or cooking in the microwave. Steaming vegetables not only helps to retain enzyme found in vegetables but also turns it into a bright green colour to enhance the cancer-fighting compounds.