Ana,
I wish I had an answer for you.
I, too, get headaches after just about every hard ride. I have never been able to figure this out. My BF insists it's just a result of hard effort and concentration. Maybe being out in the sun contributes as well?
I'm curious to see what other say.
Kate