What I do is have my primary machine keep all of that stuff downloaded. I only use iCloud to sync. Anything happens, I can take the computer offline and even restore from a local backup if there’s a problem.
And this isn’t hypothetical, I’ve use backups regularly for reloading secondary machines for over a decade.