Cavitation is defined as the phenomenon of formation of vapour bubbles of a flowing liquid in a region where the pressure of the liquid falls below its vapour pressure. Cavitation is usually divided into two classes of behavior: inertial (or transient) cavitation, and noninertial cavitation. Inertial cavitation is the process where a void or bubble in a liquid rapidly collapses, producing a shock wave. Such cavitation often occurs in pumps, propellers, impellers, and in the vascular tissues of plants. Noninertial cavitation is the process in which a bubble in a fluid is forced to oscillate in size or shape due to some form of energy input, such as an acoustic field. Such cavitation is often employed in ultrasonic cleaning baths and can also be observed in pumps, propellers, etc.
Since the shock waves formed by cavitation are strong enough to significantly damage moving parts, cavitation is usually an undesirable phenomenon. It is specifically avoided in the design of machines such as turbines or propellers, and eliminating cavitation is a major field in the study of fluid dynamics.
That should clear it up. It is my opinion that you should always be using a tank, as a reservoir, on any job, then you safeguard against the above happening on the house pipework as well.
Rob