I used a series of Anker nylon wrapped cables that were Apple certified and were okay for a while, then did this.
I’ve tried an Anker Powerline III cable now which has resolved CP issues. Supposedly an updated affair, it’s far less flexible thigh, which is annoying but it works.