David Akers made all four of his field-goal attempts for the second straight game, and he wasn’t about to complain Sunday about his heavy workload in his first season with the 49ers.

“It’s been a great run since I’ve been here,” Akers said after the 49ers’ 27-20 win over the New York Giants. “I cherish every field goal that I make, every touchback, knowing that I’m trying to do my part. That’s my job.”

Sunday’s duties also entailed his first onside kick and first tackle on a kickoff return this season.

The onside kick was recovered easily by the 49ers’ Delanie Walker, and it set up Akers’ third field goal of the first half. On the ensuing kickoff, Akers brought down Da’Rel Scott on a 37-yard return.

Coach Jim Harbaugh said the 49ers considered calling the onside kick on the previous kickoff, and that play confirmed the Giants’ were susceptible to it.

Said Akers: “It was the situation. Sometimes, you look at guys that run five-man fronts and they kind of have a tendency to leave early at times.”

Akers’ four field goals came from 36, 52, 39 and 28 yards to account for the 49ers’ 12-6 lead early in the third quarter. Four of Akers’ kickoffs resulted in touchbacks.

He has made 15 consecutive field-goal attempts (the fifth-longest streak in 49ers history) and 23 of 25 this﻿ season. His lone misses came Oct. 2 in his return to Philadelphia, where he played the previous 12 seasons. He is 22 for 22 on point-after kicks.

As for his tackle Sunday: “I didn’t really hit him that good. I kind of got in the mix and got him down. I’m kind of a doormat more than anything. Just hopefully they trip over the doormat as they walk in the house.”

Cornerback Carlos Rogers recorded two interceptions in a game for the first time in his career — at any level, including his college days at Auburn and high school career in Augusta, Ga. “It’s a first for me,” said Rogers, who leads the 49ers with five interceptions this season. Rogers totaled eight interceptions in his six previous seasons with the Washington Redskins. How is he ditching his bad-hands reputation, aside from extra practice time? “Change of scenery, that’s all it takes,” Rogers responded. Walt Harris was the last 49er with two interceptions in a game, on Nov. 25, 2007, at Arizona.

Running back Frank Gore did not play in the second half because of a knee injury, as he was advised by position coach Tom Rathman. “I thought I wanted to go, but he told me to shut it down, and I have to listen to the coach,” said Gore, who had six carries for zero yards in the first half. It was the first time in his career he has been held to zero yards.

The 49ers attempted 30 passes and 20 rushes, and although that pass-heavy attack did not fit the 49ers’ season-long theme, it was their plan. “We knew that as defenses continue to load the box more and more, we just kind of keep baiting it and keep it, and we wanted to come out throwing it this game a lot,” offensive coordinator Greg Roman said. “We were kind of hoping to keep that a secret as long as we could, but I guess it’s out of the bag now.”

Although the Giants were shut out on their final drive, Mario Manningham dropped a 40-yard pass from Eli Manning near the goal line with 2:50 remaining. “It’s an extension where Mario has really got to reach out there and the ball just doesn’t get caught,” Giants coach Tom Coughlin said. “You’d have to explain it to me. Sometimes they catch them, sometimes they don’t.”

For the 31st consecutive game, the 49ers did not allow a 100-yard rusher and they still have not allowed a rushing touchdown this season. Brandon Jacobs led the Giants with 18 carries for 55 yards while starting in place of an inactive Ahmad Bradshaw (foot).

Walker matched his career-high with six receptions (for 69 yards) to lead all 49ers receivers.

Manning completed his first 10 passes and finished 26 of 40 for 311 yards. He got sacked only once, on a third-down blitz by Patrick Willis in the third quarter.

Michael Crabtree caught his first career two-point conversion, putting the 49ers ahead 20-13 with 13:22 remaining in the game. Crabtree’s only other reception went for 21 yards, and he got called for offensive pass interference later on that second-quarter series.

Asked if he likes the Giants’ chances in a possible rematch in the playoffs, running back D.J. Ware said: “We definitely like our chances in a rematch. We just have to wait until that day comes.” All but two of the Giants’ remaining opponents have winning records, including the Green Bay Packers and New Orleans Saints.

The 49ers’ eight victories equal the combined total of their three NFC West rivals.