Milan were comfortable 3-1 winners.
"I liked the approach to this game, as we attacked and defended well. It was an important victory, even if we allowed Cagliari a little too much of the ball," said Allegri.
"We made some mistakes and have already conceded entirely avoidable goals so far this season. In any case, the week went well with Champions League qualification and this victory."
For the big stories and the banter follow us on Twitter: @tribalfootball