Gene J. Puskar, Associated Press
In this Friday, Feb. 10, 2017, photo, a shopper passes a display in the window of a J. Crew store in the Shadyside shopping district of Pittsburgh. On Wednesday, March 15, 2017, the Commerce Department releases U.S. retail sales data for February.

WASHINGTON — Americans spent only slightly more last month at retail stores compared with January, a sign of consumer caution despite rising optimism about the economy.

The Commerce Department said Wednesday retail sales ticked up a seasonally adjusted 0.1 percent in February, after a much bigger gain of 0.6 percent the previous month. January's gain was revised higher.

The figures suggest that strong job gains this year, near record-high stock prices and decent pay gains haven't yet lifted spending. But last month's sluggish pace could prove temporary.

Economists note that spending was likely held back by delays in tax refund payments. A new law has required tougher scrutiny of a tax credit claimed by lower-income taxpayers. Wal-Mart said last month that the delay had slowed sales at its stores in February. Other retailers have reported similar concerns.

Yet tax refunds have started to flow this month, which could trigger a rebound.

Sales rose in February at furniture stores and home and garden centers. But they fell sharply at electronics and appliance stores.

Sales also fell at gasoline stations, though that mostly reflects lower prices. Clothing stores, sporting goods retailers and department stores also all reported lower sales.

There are several additional factors that could drive spending higher in the months ahead. Consumer confidence soared to its highest level in more than 15 years in February, according to the Conference Board, a business research group.

Hiring and average hourly pay growth have picked up since the new year. Americans' finances are in better shape, with average home prices back to their pre-recession levels in much of the country.

Yet the boost in confidence may not be broadly shared. That could limit any spending that might result. For Americans younger than age 35, who are less likely than older age groups to own a home or stocks, confidence actually fell last month.

And the consumer confidence data has grown increasingly political in recent years, with Republicans reporting much greater optimism than Democrats. That reverses a pattern that emerged under former President Obama.

Retail sales make up about one-third of total consumer spending, with the other two-thirds consisting of health care and other services. Economists closely monitor spending, because it makes up about 70 percent of the economy.

Growth has yet to catch up with the recent burst of optimism that has followed Donald Trump's election. The economy expanded at a modest 1.9 percent pace in the final three months of last year. Most economists expect it will grow at roughly a 2 percent pace or less in the January-March quarter.