I have had migraine headaches for many, many years. I know coffee is a trigger, and finally cut it out totally, and they did get much better. I started back with a cup of coffee about 3 times a week, and it was OK, then that led to daily coffee, and the headaches returned.
As an experiment, I tried drinking ONLY ganoderma coffee, once or twice a day, and found that the headaches stopped again. It has been my "special treat" coffee for over a year now, but has turned into my only coffee. Not only does it taste better than regular coffee, but now I see that it actually is better for you.