Not surprisingly, Serious Eats gets it right: https://www.seriouseats.com/how-to-caramelize-onions-classic
https://www.seriouseats.com/the-food-lab-real-french-onion-d...
(And as an aside, his techniques do reduce the time required but result in a vastly inferior result imho. Probably fine for onion dip, but I’d never put those in an onion soup, a flatbread, or even on a burger - the texture is all wrong)