The study assessed thousands of tombs in the Tang dynasty’s capital city of Xian and found that Chinese living there not only developed cosmetic recipes but also “optimised” them.