Can outfield players wear a cap in hot weather?

Can outfield players wear a cap in hot weather? I know goalkeepers can but I am particularly interested to learn if u11s and below can wear them outfield as this age group are not allowed to header the ball.