I've never heard "to feather one's cap". I have heard "to feather one's nest" and (in WW's sense) "a feather in his cap".

Perhaps the last relates to a period when ostrich feathers were the fashion craze among well-dressed ladies? But why "cap"?