Manage content caching
To learn more about how content caching works, and best practices, see Content caching preferences.
For more information about the kinds of files you can use with content caching, see the Apple Support article Content types that macOS Server caching and macOS caching support.
If you provide content caching for clients with custom public IP addresses, you need to add or edit a DNS TXT record for your content cache. See Enable content cache discovery across multiple public IP addresses.
Enable content caching
Choose Apple menu > System Preferences, then click Sharing.
In the service list on the left, select the Content Caching checkbox, then wait for the content caching indicator to turn green.
Click the Cache pop-up menu, then choose the content you want cached.
All Content: Store software updates and apps downloaded from Apple, and iCloud content on this Mac.
Only Shared Content: Store only software updates and apps downloaded from Apple on this Mac.
Only iCloud Content: Store only iCloud content, such as photos and documents, on this Mac.
Restart the client devices that will use the content cache.
Restarting the client devices ensures that they discover the content cache immediately. If the client devices are not restarted, it will take some time before they discover the content cache.
Disable content caching
Choose Apple menu > System Preferences, then click Sharing.
In the service list on the left, deselect the Content Caching checkbox.
Select a volume for caching
By default, the cached content is stored on the boot volume. If you have additional volumes available on your Mac, you can choose where to store the cached content.
Choose Apple menu > System Preferences, then click Sharing.
Select Content Caching, then click Options.
Click the Edit button next to Cache Location.
Select a storage volume, then click Move.
Content caching stops temporarily while the existing cache is moved to the new location.
Set the cache size
You can choose the amount of storage your Mac uses for cached content.
Choose Apple menu > System Preferences, then click Sharing.
Select Content Caching, then click Options.
Use the slider to set the cache size.
For more information, see Content caching storage options.
Enable or disable iCloud caching
iCloud caching stores the files users have in iCloud, such as Pages or Numbers documents.
All cached iCloud content is received, stored, and transmitted encrypted, and the content cache does not have the ability to decrypt it.
Choose Apple menu > System Preferences, click Sharing, then select Content Caching.
Do one of the following:
Enable iCloud caching: Click the Cache pop-up menu, then choose All Content or Only iCloud Content.
Disable iCloud caching: Click the Cache pop-up menu, then choose Only Shared Content.
If you disable iCloud caching, all cached iCloud data is immediately removed from the content cache.
If you enable or disable iCloud content caching, you might want to restart the client devices. Client devices automatically discover changes, but it takes some time. However, if you restart the client devices, they will discover the changes immediately.
Share cached content with iOS devices
You can share the Internet connection and cached content of your Mac with iOS devices that are connected using USB. This feature is also called tethered caching.
With tethered caching:
iOS devices can be connected and disconnected at any time, as long as the Mac is awake.
iOS devices connected to a Mac using USB have an Internet connection even when their Wi-Fi and cellular connections are disabled.
Tethered managed iOS devices automatically check in with their mobile device management (MDM) server.
Choose Apple menu > System Preferences, click Sharing, select Content Caching, then select the Internet Connection checkbox.
The first time you connect an iOS device to the Mac using USB, you need to tap Trust on the device.
Delete all cached content
Choose Apple menu > System Preferences, then click Sharing.
Select Content Caching, then click Options.
Click Reset, then click Reset again to verify the request.