I had very much the same experience; dropping caffeine from my diet reduced visual migraines from several times a month to once in the last two years. The other factor was stress which seemed to actually trigger the migraine itself - but my stress levels haven't changed much. So for me, caffeine...