Vapor lock??

Hey guys,I have a question on vapor lock.I noticed that when I drive my car to town and back(about 15 miles) and then turn it off,I have a hard time starting it back,this happens after it has been turned off for about 5 min.I was told this is vapor lock and occurs when the fuel in the line gets hot from the heat of the motor or manifold.I have seen on other posts that some members have routed the fuel line from the fuel pump to carb by going over the valve cover.Does this work or is there an effective way to insulate the line to prevent this?Thanks