What does 'cap' mean in this sense?
"cap" is usually synonymous with "limit".
Sometimes it's short for capability or capacity. Or the thing you can wear :) But siebrand's guess seems more likely.