The hats with wide brims need a draw string underneath to keep them on in windy weather. (Or just staple it in place! LOL)
Here's one I use. (Just a random Google search.) I need to modify it tho (with velcro?) to be able to put the headphones over the hat because it barely fits over the headphones.
There are some with netting around the sides for ventilation.