Harry Smith's first-half penalty was followed by two goals in nine second-half minutes from Ryan Watson and Matty Warburton, sealing Town's spot in round two at the expense of the Bluebirds.
It was a superb performance from Keith Curle's men, but who stood out? Find out here...
5. Michael Harriman
A workaholic down Town's right flank, charging up the pitch to help out in attack before charging back to carry out his defensive duties. Pressed the visitors like a madman at times... 8
6. Joseph Mills
Sharp work to win the spot-kick and became more involved in the second-half. Used the ball well and put good delivery into the box without compromising his defence work... 7.5 Photo: Pete Norton
7. Christopher Missilou
He will rack up the miles this season. Has impressed throughout pre-season and did so again against Cardiff. Scampered about the pitch to press, tackle, intercept and generally be a nuisance for the visiting midfield... 8 Photo: Pete Norton
8. Ryan Watson
Fantastic all-round midfield display. Bite and steel off the ball and intelligence on it. Complemented his new midfield partner nicely and continued his handy knack of scoring with an excellent finish... 8.5 CHRON STAR MAN Photo: Pete Norton