Hi beancounting
I basically fed DD until she was sleepy, but made sure she was awake when I put her down. I was lucky because although she cried, it was intermittent protesting rather than anything approaching meltdown screaming. I was poised outside the door ready to go in if she sounded like she was getting properly distressed, but she quietened down before too long.
The first night it took 25 mins, the second 20 mins. The third night, she went down without a protest. For the first couple of nights, I also left her to self-settle when she woke overnight (I was lying quietly in the room with her, she wasn't on her own) and again, the crying was never worse than intermittent protesting. Towards morning, I would feed her.
Previously I'd tried PU/PD and Ssh/pat, but then DD WOULD go into meltdown and the whole thing would last for ages and she and I would both get horribly upset.
It wasn't much fun hearing her crying, but as I said, she never actually got hugely distressed and thankfully, I didn't have to do it again after the second day.
I didn't do it until DD was 7mo - at 5mo I just went with the flow as much as poss.
Now if DD wakes up in the night, I mostly feed her and she usually lets me put her back down (sometimes after a few goes) - although I try and resettle her with only a cuddle if she wakes up before midnight.
It's rare that she protests at bedtime now. Last night for example, she was wide awake when I put her in her cot and she kept sitting herself up, but I left her to it and ten mins later, she was asleep.
It still feels a bit like magic!!
Good luck!