Resting Ronaldo in La Liga games and optimizing him for UCL games was exactly how Ronaldo became the best player ever in Europe, and Messi became a domestic league merchant.
That is what Zidane understood. He knew La Liga could be sacrificed. He would rest Ronaldo against Leganes, Eibar, Getafe, so that Ronaldo would be 100% for Juventus, Bayern, Atletico in the Champions League. That prioritization is why Ronaldo has 5 UCLs and is the all-time top scorer in the competition. Messi, on the other hand, was playing full 90 minutes against Alaves in the cold just to win another Pichichi.
What Luis Enrique is doing now with resting players is the same prioritization. The only difference is he is lucky. He plays in a league where it is so hard for anyone to compete with him for the title. PSG can rest Dembele, Nuno Mendes, Kvaratskhelia, Hakimi, Vitinha and Pacho this weekend and still win Ligue 1 with their B team.
And Messi, knowing he can't do it on the big stages with Neymar gone, played all those La Liga games to stat-pad goals against Eibar and Mallorca.
He understood early what really matters. Winning 10 league titles and 2 UCLs in that span is as good as nothing compared to winning 3 UCLs in a row. League titles are for domestic merchants. The Champions League is what makes you immortal.