Paolo Di Canio stressed his Swindon players will need to continue grinding out victories similar to their 2-1 success at Hereford if they are to claim the npower League Two title.
The high-flying Robins completed their sixth straight win at Edgar Street, but they had to fend off their struggling hosts in the last 15 minutes of a hard-fought encounter.
"This is the type of game you have to win if you are going to win the title" said Di Canio. "I am very happy because of the way we won after being under pressure."
He added: "We were two up and thought it was going to be easy, but once again Hereford proved that they are difficult to beat. We remember the game against them early in the season when we drew 3-3 when they scored in the last minute.
"Once again they showed they have character, quality. But fortunately, for me and my players, we have won the game.
"We defended well in the last 20 minutes and so I am very happy and proud with the performance."
Hereford have now gone 10 home games without a win, leaving manager Jamie Pitman counting the cost of the mistakes that led to Swindon's two goals.
"If you give goals away like we did today obviously it is going to cost us," said Pitman. "Our game plan went well and limited them to very few chances. But we had a lot and should have taken them like they have, but when you give goals away like we did it is always going to be difficult.
"The momentum was with us and they only had 10 to 15 minutes throughout the game when the momentum was with them, and I thought we were more of a threat than they were.
"That's the frustrating side of it and we are disappointed not to have got something out of the game against a side who are flying high."