I don't get hat-head. (Especially the short pixie I just had cut). When your hair is short, flat and straight - there is nothing to smoosh, IYKWIM. So in that respect, my hair is hat-friendly.
Berets are also quite roomy around the head - but not around the ears - which helps.
How do you prevent hat-head?