Excedrin brand migraine medication contains caffeine, in addition to acetaminophen and aspirin, because it helps constrict blood vessels in a process called vasoconstriction, enhancing pain relief.