Qing actually managed its reconquest of Xinjiang (by Zuo Zongtang, you know the General Tso's chicken guy) 16 years after their defeat in Second Opium War and 12 years after Taiping rebellion. That would be like if Russia conquered all of Ukraine in 12 month back in 2014. Zuo Zongtang and his teacher Zeng Guofan were bonafide military and geopolitical geniuses.
I like to think every time you order General Tso's chicken you are celebrating China's supremacy over Xinjiang by crushing the Dungan Revolt.