How to super clean your vehicle's engine bay

I had my engine compartment cleaned after replacing the engine about 25 years ago, and the guy sprayed some sort of liquid sealer on the non-super-heated parts to make it more attractive. It held up very well during the month or so I was offering it for sale.