The vaseline spray has two functions. On the outside of the gun, it keeps PUR foam residue from sticking to the gun and mechanism. This extends the lifetime of the gun significantly. Additionally, inside the gun, the vaseline spray ensures a good seal between the nozzle and the gun.
This makes clicking in and out easier as well.