caffeine is both a vasoconstrictor and a vasodilator, over the course of a dose. dilation is the second and longer-acting effect, and acclimation to that is what causes the withdrawal headaches. other vasodilators should help if the mechanism is different, to prevent continuing dependency.