Cardiff made it a quickfire double over their near neighbours as they rattled up five tries without reply in the first-half to continue their good end to the season.
Having beaten Caerphilly 38-8 at the Arms Park eight days earlier, they matched that tally in the opening 40 minutes to pile on the points and consolidate their fourth place in the Welsh Premiership.
It was Wales full back Rhys Williams who started the early flourish as he ran in a solo try after 18 minutes. By the interval Dean Dewdney, Adam Jones, Don van Vuuren and Ryan Powell had followed suit.
It was not the kind of start that former Cardiff and Wales great Mark
Ring had been hoping for from his home side, especially as they have a major European final to come in two weeks time when they face Castres in the Parker Pen Shield final in Reading.
Things went from bad to worse shortly after the break when Wales utility back Iestyn Harris hoisted his match tally to 20 points with a try and a sixth conversion to further stretch the lead.
But far from throw in the towel, Caerphilly rallied and two more penalties from outside half Luke Richards gave them new hope. Then two tries in the space of four minutes, both converted by Richards, breathed new life into the final quarter.
Wing Ryan Howells crossed for the first of the home tries and then lock Darren Davies romped over moments after his opposite number Heino Senekal was sent to the sin-bin. But all that was left in the game were two more penalties from the two outside halves and Cardiff hung on for victory.
Caerphilly: Tries: R Howells, D Davies; Cons: L Richards 2; Pens: L Richards 6.
Cardiff: Tries: R Williams, D Dewdney, A Jones, D
van Vuuren, R Powell, I Harris; Cons: I Harris 6; Pens: I Harris 2.
Warren Gatland and Sam Warburton look ahead to this week's crunch RBS 6 Nations tie against France, where the Wales skipper in particular is keen to make his mark, as Paris has proved a bleak place for him in the past.
Following their historic win over England, Wales Under 20 suffered a narrow, 36-34 loss to their Scottish counterparts last weekend, despite outscoring them by five tries to three. Watch the match highlights and reaction.
WRU TV go behind the scenes with the Wales squad as they put the final touches in place ahead of the clash against Scotland at Murrayfield. Follow the squad on their captain's run, the kickers visit to Murrayfield and Neil Jenkins' press conference