Autumn is race season, so almost every Sunday in cities all around the country, runners of all sorts gather for races that range from marathons to fun runs.

Autumn is race season, so almost every Sunday in cities all around the country, runners of all sorts gather for races that range from marathons to fun runs.

On Saturday night, many sit down to steaming plates of pasta, the traditional pre-race meal for runners everywhere. But are these pasta parties more traditional than medicinal?

And what about after the race? Is all that food at the finish line just an extra enticement to participate, or does it actually have a purpose?

In her job as a senior editor at Runner's World magazine, Joanna Golub keeps up to date on the latest in exercise and nutritional science.

"There's a reason that pasta has long been considered the ideal pre-race fuel," she said. "It's high in easily digestible carbohydrates, and that's what your body needs when you're getting ready to run a long distance."

"Easily digestible" is key to pre-race meals. Runners should avoid any foods that might cause stomach distress the next day. For that reason, many runners avoid meals that are extremely high in fiber or high in fat, although most runners quickly get a sense of what they can and cannot eat before a workout.

Not only does your body need carbohydrates before you run, but also it needs to replenish them after the run is over, Golub said. "You have a 30-minute window after your run when you want to make sure to get some recovery fuel of some sort."

How much you need to eat obviously depends on the length and intensity of the workout. So if you run a couple of miles, you don't necessarily need to follow it up with a snack, but "once you start getting into some longer distances, or any time you're running for an hour or longer, you want to think about recovery," she said.

The ideal post-run snack has a 3:1 ratio of carbohydrates to protein, but don't get too hung up on the numbers; just try to get both carbohydrates to refuel the muscles, she said, and protein "to help repair some muscle damage that occurs whenever you exercise."

Overall, she recommended that runners eat a diet rich in complex carbohydrates from all kinds of sources, including beans, whole grains, fruits and vegetables.

Golub had even more good news to offer. Runners who like to start the day with a cup of coffee or caffeinated tea don't have to change their habits on race day.

"There is a huge body of evidence that shows that coffee enhances athletic performance," she said. "It helps you run faster and longer."

Caffeine can even help you recover after your run.

"When you pair caffeine with carbohydrates, it helps your body absorb and process the glycogen faster," Golub said. "It's a way to kick-start recovery."