The chap at Razor Emporium in the USA, who deals extensively in refurbished vintage razors as well as modern ones, recommends hot water, a toothbrush and detergent (washing-up liquid, I think), and cautions against using any number of liquids for cleaning. He has a couple of videos on the subject on YouTube.
I think that most serious problems arise when a plated razor, be it chrome, gold or whatever, is exposed to some of these cleaning agents, which are capable of stripping off the finish in double-quick time.
Personally, I use the hot water and detergent method, albeit in my ultrasonic cleaner, and after a good scrub with a toothbrush. If possible, I leave them to dry in a sunny spot, or use a hairdryer on a moderate setting. I have in the past used diluted Barbicide, but only as a quick dip, (the instructions say 10 minutes immersion), and it has been suggested that it can be injurious to some razors, especially if they are steeped in it for a long time. i.e. longer than the recommended 10 minutes.
For myself, I've not been too concerned about acquiring infections from metal razors, even those with hollows and unscrubbable parts, provided they are cleaned well at least once (and more if deemed necessary) as I have described.