Cap with flap including hair net that is ideal for catching loose hair that should not enter the finished product during the production process