Overcooking can destroy myrosinase - if the enzyme myrosinase is not destroyed during cooking, broccoli can also reduce the risk of developing cancer. The best way to cook broccoli and to preserve the myrosinase is to steam the vegetable lightly - if it is overcooked, the vegetable's beneficial effects can be seriously undermined, researchers from the University of Illinois wrote in the peer-reviewed journal Nutrition and Cancer.