Technically, cavitation is air caught in your pump at the impeller. Air typically doesn't enter at the pump though. Air does however get caught in the pump, causing cavitation. It's noisy, thumpy. Before or after your pump, the air isn't exactly cavitation.
Are you hearing cavitation...