Cayton led 70 minutes after Michal Szalabski's penalty after a handball by Richard Simpson.
Despite dominating the possession, Scalby missed several chances and looked to be heading away empty-handed until midfielder Townley struck the equaliser with just two minutes left on the clock.
Adam Robertshaw was Cayton's star man, while Chris Hannam and Callum Randerson impressed for Sam Medd's Scalby.
Snainton's impressive season continued as they beat Commercial 5-2 and moved into second spot.
Ryan Collings netted two for Andy Holt's side, while there other goals came courtesy of Rob Holt, Damien Foster and a Jack Heelas penalty.
Connor Bell was star man for Snainton.
Rosette and Ayton played out a 2-2 draw in testing conditions.
Ian Laing put Ayton 1-0 up at the break, following up on a goalkeeping error to tap in.
Si McDonald's corner flew straight in to level things up after half-time for Rosette before Al Wray's deflected free-kick put them ahead for the first time in the contest.
Ayton salvaged a point late on when Rosette's Wayne Shaw headed into his own net.
Tom Clarke and Wayne Chamberlain shone for Sean Pinder's side.
Fishburn Park Reserves battled back from a 2-0 deficit to claim a draw at Sherburn.
Liam Scott headed Andy Adamson's side into an early lead before Paul Mills doubled the hosts' advantage after 55 minutes.
Fishburn kept battling away and a Finlay Morris free-kick made it 2-1 before a Ste Ross goal late on completed the turnaround for Carl Oliver's men.
Oliver had to be alert in the Fishburn goal to make a crucial save in the dying moments of the match to ensure his side claimed the point.
Midfielder Joe Harris shone for Sherburn, while defender Dan Smith impressed for Park.
Falsgrave and Goldsborough United played out a 2-2 draw.
Goals from Jamie Corner and Ben Watson helped the away side claim their first point of the season.
Marc Kipling was their man of the match.
Edgehill Reserves maintained their 100% start in the new Reserve League, beating Scalby Reserves 3-1 at Carr Lane.
Aiden Thurston scored the only goal of the first half to hand the league leaders the lead.
That lead was doubled courtesy of a neat Robbie Scarborough strike after the break, but Taylor Jordan hit back for the hosts.
Edgehill weren't to be denied though and Ryan Link grabbed the goal of the game with a strike into the top corner to wrap things up at 3-1.
Midfielder Carl Hepples was Edgehill's man of the match, while defender Luke Beaver shone for the Otters.
Edgehill's cause was helped as second-placed West Pier Reserves lost 3-0 at home to Filey Town Reserves.
Joe Gage put Filey ahead with the only goal of the first half.
James Jenkinson's long-range free-kick doubled Town's lead after half-time before a late Tom Haxby goal, which grabbed a deflection off veteran Dave Wedge on it's way in, wrapped up the points.
Stand-in keeper Ben Eblet shone for Dan Kempson's side, making several impressive stops on his way to a clean-sheet.
Jason Prosser was Pier's man of the match.
Edgehill 3rds are third in the table after they beat Newlands Reserves 6-3.
Doubles from Tom Scales and Martin Jenkinson set Edgehill on their way, while man of the match Gary Hepples netted a penalty and Shaun Pye also got his name on the scoresheet for the victors.
Seamer Reserves cruised to a 6-0 win at Ayton Reserves.
Arran Wright bagged two for the victors, while Nick Hegarty, Sam Walker, Chris Stubbings and Sean Kelly also scored.
Ayton Reserves boss Steven Frederiksen said: "I think 6-0 flattered them, but they deserved to win the game.
"James Fox and Jamie Miller impressed for us at centre-back."