It's just better to quit your job every few years and take 6 months off. And then find a new job that pays more. I haven't done it yet but I've been thinking about it for years.
Track record? I don’t really think we are supposed to work continuously to 70 when our bodies are completely busted. What good is traveling then when your body hurts?
Plenty of non software developers take breaks. The van life folks in particular. It requires a substantial sacrifice.
A lot of people in tech jump jobs every few years anyway, right? What does it matter if you take a break for a trip?
Even if you are, seeing your ever increasing "track record" should be alarming to every new employer.