Is your favorite visor or cap showing serious signs of the wear you've put it through? If so, pop it into the top shelf of your dishwasher with the rest of the stuff.
Voila!
Well, maybe not new, but you gotta admit...
It's at least presentable!
Wear it to the shower and shampoo it on your head ! Rinse, repeat.