High Sierra ‘Content Caching’ turns your Mac into a local iCloud server

By

iMac content caching
If you have a spare Mac, you could turn it into a local iCloud cache.
Photo: Dean Hochman/Flickr CC

When iOS update time rolls round, you probably run through all the devices in your home, downloading those multi-gigabyte updates over and over. If you have a few iPhones, plus a couple of iPads, it all adds to a lot of data, and a lot of waiting. New in macOS 10.13 High Sierra is Content Caching, which stores these downloads on a Mac, so they only have to be downloaded once.

This doesn’t only save on internet data usage. It also makes it way faster to update several devices. And it’s not just updates either. Content caching can also cache iCloud documents, your photo library, and app updates.

Cache cachet

Just head to the Sharnig preferences to switch on content caching.
Just head to the Sharnig preferences to switch on content caching.
Photo: Cult of Mac

Content caching is a fantastic idea, especially if you have an always-on (or often-on) iMac in your home or office. Instead of having to download the same stuff over and over, you only do it once. Then, any other devices on your network pull their data from your Mac, instead of from Apple’s servers. That’s probably a boon for Apple’s data bills, but for us it could make a huge difference to update speeds. When this feature is switched on, both Mac and iOS content is saved locally.

The people who will see the biggest difference are those with slow internet connections, and those with networks that have a lot of users i.e. businesses, or organizations like schools. But if you ever sat waiting for your iPhone to upload a day’s worth of photos over a slow DSL connection, you’ll love content caching too. Your iPhone will sync to the Mac instead, which can then run in the background to do the dirty work of uploading. It’ll even save your iPhone’s battery.

How to enable content caching on macOS High Sierra

This part is easy. Just open up the Sharing prefpane in System Preferences, and check the box next to content caching. It’s the new entry at the bottom of the list. And that’s it. From now on, content will be cached on your boot drive.

Options, and optional options

You might want to select an external drive for your caches.
You might want to select an external drive for your caches.
Photo: Cult of Mac

There are a few settings you can tweak here, To start, click the Options… button. The default location for the content cache is your boot drive, but that can fill up fast. In the options screen you can select a different location for the caches, as well as limiting their size. If you only have one volume in your Mac, then limiting the cache size is the way to go.

This is where you can break stuff.
This is where you can break stuff.
Photo: Cult of Mac

If you hold down the Option key, the Option button will turn into an Advanced Options… button. Click that and you can really get yourself into trouble. You can choose what parts of your network can access cached content, as well as controlling which peers will share data (you can set several machines to do content caching, and they will sync amongst themselves). These options are good for folks administering large networks.

Bonus: Restore from backup

According the this twitter thread, your iCloud restores fro backup are also way faster, because much of the content of the backups is now stored locally.

That’s a pretty neat feature right there. In fact , the whole content caching thing is pretty neat. It has been available on OS X Server for a while, but now it’s on the regular macOS, we can all switch it on and benefit.

Newsletters

Daily round-ups or a weekly refresher, straight from Cult of Mac to your inbox.

  • The Weekender

    The week's best Apple news, reviews and how-tos from Cult of Mac, every Saturday morning. Our readers say: "Thank you guys for always posting cool stuff" -- Vaughn Nevins. "Very informative" -- Kenly Xavier.