I wouldn’t say cutting out all caffeine is conventional wisdom. Every sleep specialist (sample size of 3) I have spoken to has basically said, while they don't recommend caffeine, if you only drink it early in the day it’s probably fine.