How do I stop vapor lock?

...pulled the fuel line at the pump, delivery side, and a blast of gaseous air came gushing out! Then it dribbled fuel...

Seen this before and it was related to an improper gas cap. What kind of cap are you running now? OEM? Parts store replacement?