Compressed air cans are not what they are stated. Compressed air in cans is usually "Compressed Gas" Its a mixture of a variation of highly compressed gases into a liquid form, when sprayed the liquid undergoes a phase change and turns back into a gas.
It is used from residential to industrial applications for cleaning and dusting of electrical components that cannot be cleaned by water. The gases are not conductive and will not damage electrical components unless used incorrectly, such as holding the can upside down so a majority of what is released is liquid form of the gases before it has the chance to change to a gas.
Compressed gas is safe to use, as is a lot of other methods. I highly recommend non contact methods though, such as compressed air or non contact vacuums unless they are resistant to static buildup.
Also be 100% sure whenever cleaning any electrical component that it does not have power to it, this will greatly increases the chances of a mishap or a problem with static.
for example most don't know that you can put a keyboard into a dishwasher as long as it is a regular and not fancy keyboard, and you give it sufficient time to properly dry. as this has no real components affected by water other than the PCB board, which is fine if it is given sufficient time to dry.
People cleaning computers with leaf blowers, that's overboard, unless you have a way of getting an accurate stream or jet of air to where you need it to, then your just blowing air on your PC.