Most cables fail at the neck where the wire meets the plug.
1. Pull the plug, not the wire, when unplugging.
2. Don't bend the cable sharply at the plug, for example when using the phone in bed while charging.
3. Wrap cables in loose loops. Tight wrapping around a charger breaks the wires inside.
4. Keep cables out of doors, chair wheels and away from pets.
5. A bit of heat shrink or a spring from an old pen around the neck adds support.
6. Replace cables with exposed wires right away. They can short and spark.
Braided cables last longer than thin plastic ones and are worth the small extra cost.