FRESNO, Calif. (AP) — Smoke from a wildfire around Yosemite National Park is causing problems in the San Joaquin Valley, even as firefighters make advances against the massive blaze.

Winds had been blowing dense smoke plumes northeast into the Lake Tahoe area and Nevada but a shift brought them west down to the San Joaquin Valley floor.

Regional air pollution control authorities issued a health caution for San Joaquin, Stanislaus, Merced, Madera, Fresno and Tulare counties. Residents who see or smell smoke were urged to stay inside, especially people with heart or lung problems, older adults and children.

But in signs of progress, by Friday crews had built containment lines around more than a third of the huge forest fire and officials had lifted evacuation advisories in some small communities in the mountainous area.