keepcalculator

06 Numbers and Powers

Content Caching Mac: How to Set It Up

Card No. 06·68662 · Updated · Standard formula, shown below

Content caching on macOS lets your Mac store downloaded software updates, iCloud content, and other data locally, so other devices on your network fetch those files from your Mac instead of the internet. This speeds up downloads for everyone and reduces bandwidth usage. To use it, you enable the service in System Settings, choose which content to cache, and set a storage limit. Here’s how to set it up and manage it.

What You’ll Need

  • A Mac running macOS Monterey (12) or later (the steps below reflect current versions).
  • An administrator account on that Mac.
  • Enough free disk space for cached content (start with at least 20 GB, but more is better).
  • All devices (Macs, iPhones, iPads, Apple TV) should be signed into the same Apple ID or use the same network to benefit.

Step-by-Step

  1. Open System Settings (from the Apple menu or the Dock).
  2. Click General in the sidebar, then click Sharing & Permissions (or just Sharing on older versions).
  3. Scroll down and toggle on Content Caching. If it’s already on, you can skip to step 6.
  4. A dialog may appear asking which content to cache. Choose All content to cache everything (iCloud, software updates, App Store, etc.) or Only shared content to limit to items shared by users on your network. Click Turn On.
  5. Wait a few seconds for the service to start. You’ll see a green dot next to “Content Caching: On” once it’s active.
  6. Click the Info (i) button next to Content Caching to open options.
  7. Under Cache Location, choose a drive or folder. The default is your startup disk, but you can select an external drive if you have one (recommended for large caches).
  8. Set a Cache Size limit. By default, it uses all available disk space, but you can set a fixed amount (e.g., 50 GB) to avoid filling your disk. Enter a number in GB.
  9. Under Clients, you can restrict caching to devices on the same subnet, or allow all devices (including those on other networks if you have advanced routing). Leave it as “All devices” for most home networks.
  10. Close System Settings. Content caching runs in the background automatically.
  11. To verify it’s working, open Terminal (in Utilities) and type sudo assetd (you’ll need your admin password). Then run sudo assetd -i to see cache statistics. Or simply check the Content Caching status in System Settings – it should say “On” and show the cache size.

Common Mistakes

  • Enabling caching on a laptop that goes to sleep: If your Mac sleeps often, it can’t serve cached content. Keep it awake or use a desktop Mac.
  • Using a small disk: If your startup disk is nearly full, caching will fail or be limited. Choose an external drive or increase free space.
  • Not signing devices into the same Apple ID: Some content (like iCloud files) only caches for devices using the same Apple ID. For software updates, devices must be on the same network.
  • Forgetting to set a cache size: The default “unlimited” can fill your disk over time. Set a limit that leaves room for your own files.
  • Turning it on and expecting instant results: Caching only helps after the first download. The first device to request content downloads it from Apple, and only then is it cached for others.

Tips

  • Use an external SSD for the cache location to avoid wearing out your internal drive.
  • If you have multiple Macs, enable caching on the one that’s always on (like a Mac mini or iMac).
  • You can monitor cache usage in System Settings > General > Sharing & Permissions > Content Caching > Info. It shows the cache size and number of items.
  • To clear the cache manually, turn off Content Caching, delete the cache folder (usually /Library/Application Support/Apple/AssetCache), and turn it back on. But you usually don’t need to – macOS manages it automatically.
  • If you have a router that supports it, you can also enable caching on an Apple TV (tvOS 13+) or an older Mac running macOS High Sierra or later.

Troubleshooting

If content caching isn’t working, try these steps in order:

  1. Check the status: In System Settings, make sure Content Caching shows “On”. If it says “Off” or “Error”, toggle it off and on again.
  2. Check disk space: If your cache disk has less than a few GB free, caching stops. Free up space or change the cache location.
  3. Restart the service: In Terminal, run sudo killall assetd and then sudo assetd to restart the caching daemon.
  4. Check network: Ensure all devices are on the same local network (same subnet). If you have a guest network, devices on it won’t see the cache.
  5. Check firewall: macOS firewall may block caching. Go to System Settings > Network > Firewall and make sure “Block all incoming connections” is not enabled, or add the assetd process to allowed apps.
  6. Verify clients can reach the cache: On a client Mac, hold Option and click the Wi-Fi icon to see the IP address. Then on the caching Mac, check that it’s on the same subnet (e.g., both 192.168.1.x).
  7. Look for error logs: In Console.app (in Utilities), search for “AssetCache” to see detailed logs. Common errors include “insufficient disk space” or “network change”.
  8. Reset the cache: Turn off Content Caching, delete the cache folder (if you don’t mind losing cached data), and turn it back on.

Frequently Asked Questions

Does content caching work with iPhones and iPads?

Yes, iOS and iPadOS devices can use the cache for software updates, App Store downloads, and iCloud content, as long as they’re on the same network and signed into the same Apple ID (for iCloud).

Will content caching slow down my Mac?

Generally no. The caching service runs in the background and uses minimal CPU. The main impact is disk space, which you can limit.

Can I use content caching on a Mac with an external drive?

Yes, you can set the cache location to any mounted drive. An external SSD is a good choice for performance and to save internal space.

How do I know if my Mac is actually caching content?

In System Settings, under Content Caching Info, you’ll see “Cache Used” and “Cache Size”. If the used size grows over time, it’s working. You can also run sudo assetd -i in Terminal for detailed stats.

Does content caching work if my Mac is asleep?

No. If your Mac is asleep, it can’t serve cached content. Keep it awake (or use Power Nap for some updates) to get the full benefit.

Is content caching safe and private?

Yes, it’s an Apple service. Cached content is stored locally and is encrypted where needed. Apple doesn’t see your cached data beyond normal usage.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →