Content Caching
com.apple.AssetCache.managed
The payload that configures the Content Caching service.
DDM recommended — 22 of 55 settings support Declarative Device Management
Apple recommends DDM over legacy profiles. DDM declarations are autonomous — the device enforces them without server round-trips. In Intune, use Settings Catalog → Declarative Device Management to configure these settings.
Configuration Keys (56)
| Key | Type | Title | DDM |
|---|---|---|---|
AutoActivationIf 'true', the system automatically activates the content cache when possible and prevents disabling it. If 'allowContentCaching' is 'false', 'AutoActivation' is also 'false'. Removing a profile that set 'AutoActivation' to 'true' doesn't deactivate the Content Cache. Default: false | boolean | Automatically activate content caching | |
CacheLimitThe maximum number of bytes of disk space to use for the content cache. Set to '0' for unlimited disk space. Default: 0 | integer | Maximum Cache Size | |
AllowPersonalCachingIf 'true', the system caches the user's iCloud data. Changes to this value don't have an immediate effect. Clients may take some time, such as hours or days, to react to changes. Note: At least one of the 'AllowPersonalCaching' or 'AllowSharedCaching' keys need to be 'true'. Depends on: PersonalCacheLimit Default: true | boolean | Allow Personal iCloud Data Caching | |
PersonalCacheLimit | integer | Max Personal Cache Size | |
AllowSharedCachingIf 'true', the system caches non-iCloud content, such as apps and software updates. Changes to this value don't have an immediate effect. Clients may take some time, such as hours or days, to react to changes. Note: At least one of the 'AllowPersonalCaching' or 'AllowSharedCaching' keys need to be 'true'. Default: true | boolean | Allow non-iCloud Data Caching | |
AutoEnableTetheredCachingIf 'true', the system automatically enables Internet connection sharing when possible and prevent disabling Internet connection sharing. 'DenyTetheredCaching' overrides 'AutoEnableTetheredCaching'. Tethered caching requires Content Caching. Available in macOS 10.15.4 and later. Default: false | boolean | Automatically activate Internet connection sharing | |
PortThe TCP port number on which the content cache accepts requests for uploads or downloads. Set to '0' to pick a random, available port. Default: 0 Range: 0 – 65535 | integer | Port | |
DataPathThe path to the directory used to store cached content. Changing this setting manually doesn't automatically move cached content from the old location to the new one. To move content automatically, use the Sharing preference's Content Caching pane. The value must be (or end with) '/Library/Application Support/Apple/AssetCache/Data'. The system creates a directory and its intermediates for the given data path if it doesn't already exist. The directory is owned by '_assetcache:_assetcache' and has mode 0750. Its immediate parent directory ('.../Library/Application Support/Apple/AssetCache') is owned by '_assetcache:_assetcache' and has mode '0755'. Default: "/Library/Application Support/Apple/AssetCache/Data" | string | Data Path | |
DenyTetheredCachingIf 'true', the system disables tethered caching. Default: false | boolean | Disable Caching Over Shared Internet Connection | |
LogClientIdentityIf 'true', the Content Cache logs the IP address and port number of the clients that request content. Default: false | boolean | Log Client Details | |
ParentsAn array of the local IP addresses of other content caches that this cache should download from or upload to, instead of downloading from or uploading to Apple directly. The system ignores invalid addresses and addresses of computers that aren't content caches. The system skips Parent caches that become unavailable. If all parent content caches become unavailable, the content cache downloads from or uploads to Apple directly, until a parent content cache becomes available again. | array | Parents IP Addresses | |
ParentSelectionPolicyThe policy to implement when choosing among more than one configured parent content cache. With every policy, the system skips parent caches that are temporarily unavailable. Allowed values: - 'first-available': Always use the first available parent in the Parents list. Use this policy to designate permanent primary, secondary, and subsequent parents. - 'url-path-hash': Hash the path part of the requested URL so that the same parent is always used for the same URL. This is useful for maximizing the size of the combined caches of the parents. - 'random': Choose a parent at random. Use this policy for load balancing. - 'round-robin': Rotate through the parents in order. Use this policy for load balancing. - 'sticky-available': Use the first available parent in the Parents list until it becomes unavailable, then advance to the next one. Use this policy for designating floating primary, secondary, and subsequent parents. Default: "round-robin" Range: First available (first-available), Hash (url-path-hash), Random (random), Round robin (round-robin), Sticky available (sticky-available) | string | Parent Selection Policy | |
PublicRangesAn array of dictionaries describing a range of public IP addresses that the cloud servers should use for matching clients to content caches. | array | Public Ranges | |
AllowCacheDeleteIf true, the system purges content from the cache automatically when it needs disk space for other apps when free disk space runs low on the computer. Set to 'false' to maximize effectiveness of Content Caching. Available in macOS 10.15 and later. Depends on: AgeForLowSpaceAlert Default: true | boolean | Allow Cache Delete | |
DisplayAlertsIf 'true', Content Caching displays exceptional conditions (alerts) as system notifications in the upper corner of the screen. Alerts were automatically displayed starting in macOS 10.13. In macOS 10.15 the alerts are off by default, but still available through this setting. Available in macOS 10.15 and later. Default: false | boolean | Display Content Caching Alerts | |
KeepAwakeIf 'true', the system prevents the computer from sleeping as long as Content Caching is on (System Preferences > Sharing > Content Caching is on). Customers who want Content Caching to be as available as much as possible should turn this setting on. Available in macOS 10.15 and later. Default: false | boolean | Keep Awake for Content Caching | |
AgeForLowSpaceAlertDefault: 30 | integer | Low Space Alert | |
AllowImportsDepends on: ImportMaxRate; ImportMinRate; ImportRateAttenuation; ImportTimeout Default: true | boolean | Allow Imports | |
AllowWirelessPortableDefault: true | boolean | Allow Laptop Wireless Caching | |
DatabaseUpdateIntervalDefault: 5 Range: 0 – 3600 | integer | Cache Database Update Interval | |
DownloadMinRateDefault: 8000 Range: 1000 – — | integer | Minimum Download Rate | |
DownloadTimeoutDefault: 180 Range: 10 – — | integer | Download Timeout | |
ImportMaxRateDefault: 0 | integer | Max Import Rate | |
ImportMinRateDefault: 2000 | integer | Min Import Rate | |
ImportRateAttenuationDefault: 0.2 Range: 0 – 1 | real | Import Rate Attenuation | |
ImportTimeoutDefault: 300 Range: 10 – — | integer | Import Timeout | |
InterfaceDefault: "Listen on all interfaces" Range: Listen on all interfaces, en0, en1, en2 | string | — | |
ListenWithPeersAndParentsIf 'true', the content cache provides content to the clients in the union of the 'ListenRanges', 'PeerListenRanges' and 'Parents'. Default: true | boolean | Listen with Peers and Parents | |
MaxParentDepthDefault: 8 | integer | Max Parent Depth | |
MaxPeersToQueryDefault: 0 | integer | Max Peers to Query | |
MetricsIntervalDefault: 60 Range: 1 – 60 | integer | Metrics Interval | |
MetricsMaxAgeDefault: 30 Range: 30 – — | integer | Max Metrics Age | |
OriginDownloadTimeoutDefault: 60 Range: 5 – 300 | integer | Origin Download Timeout | |
OriginUploadTimeoutDefault: 600 Range: 5 – 3600 | integer | Origin Upload Timeout | |
ParentDownloadTimeoutDefault: 60 Range: 5 – 300 | integer | Parent Download Timeout | |
ParentUploadTimeoutDefault: 600 Range: 5 – 3600 | integer | Parent Upload Timeout | |
ParentRetryIntervalDefault: 900 Range: 30 – 3600 | integer | Parent Retry Interval | |
PruneAffinitiesAgeDefault: 30 Range: 7 – — | integer | Prune Affinities Cache Age | |
PruneAffinitiesIntervalDefault: 7 Range: 1 – — | integer | Prune Affinities Cache Interval | |
PruneAssetsAgeDefault: 120 Range: 7 – — | integer | Prune Assets Age | |
PruneAssetsIntervalDefault: 7 Range: 1 – — | integer | Prune Assets Interval | |
ReservedVolumeSpaceDefault: 2000000000 | integer | Reserved Volume Size | |
TerminationTimeoutDefault: 10 Range: 1 – 60 | integer | Termination Timeout | |
VerboseDefault: false | boolean | — | |
PFC_SegmentedControl_0required | string | — | |
LocalSubnetsOnlyIf 'true', the content cache offers content to clients only on the same immediate local network only. No content is offered to clients on other networks reachable by the content cache. If 'LocalSubnetsOnly' is 'true', the system ignores 'ListenRanges'. Default: true | boolean | Restrict Clients To Local Network | |
ListenRangesOnlyIf 'true', the content cache provides content to the clients in the 'ListenRanges'. Default: false | boolean | Restrict To Client Listen Ranges | |
ListenRangesAn array of dictionaries that describe a range of client IP addresses to serve. | array | Client Listen Ranges | |
MaxConcurrentClientsDefault: 3400 | integer | Max Concurrent Clients | |
PeerLocalSubnetsOnlyIf 'true', the content cache only peers with other content caches on the same immediate local network, rather than with content caches that use the same public IP address as the device. When 'PeerLocalSubnetsOnly' is 'true', it overrides the configuration of 'PeerFilterRanges' and 'PeerListenRanges'. If the network changes, the local network peering restrictions update appropriately. If 'false', the content cache defers to 'PeerFilterRanges' and 'PeerListenRanges' for configuring the peering restrictions. Default: true | boolean | Restrict Peers To Local Network | |
PeerFilterRangesAn array of dictionaries describing a range of peer IP addresses that the content cache uses to filter its list of peers to query for content. The content cache only queries peers in 'PeerFilterRanges'. When 'PeerFilterRanges' is an empty array, the content cache doesn't query any peers. | array | Peer Filter Ranges | |
PeerListenRangesAn array of dictionaries describing a range of peer IP addresses the content cache responds to. When 'PeerListenRanges' is an empty array, the content cache responds with an error to all cache queries. | array | Peer Listen Ranges | |
PeerDownloadTimeoutDefault: 30 Range: 5 – 300 | integer | Peer Download Timeout | |
PeerNotifyTimeoutDefault: 30 Range: 5 – 300 | integer | Peer Notify Timeout | |
PeerQueryTimeoutDefault: 5 Range: 1 – 60 | integer | Peer Query Timeout | |
PeerRetryIntervalDefault: 900 Range: 30 – 3600 | integer | Peer Retry Interval | |
ParentsItemrequiredAn IP address. | string | IP Address | |
RangesItemA range of IP addresses to cache. | dict | RangeDict | |
typeThe IP address type. Default: "IPv4" Range: IPv4, IPv6 | string | IP Address Type | |
firstrequiredThe first IP address in the range. | string | Start IP Address | |
lastrequiredThe last IP address in the range. | string | End IP Address | |
RangesItemA range of IP addresses to cache. | dict | RangeDict | |
typeThe IP address type. Default: "IPv4" Range: IPv4, IPv6 | string | IP Address Type | |
firstrequiredThe first IP address in the range. | string | Start IP Address | |
lastrequiredThe last IP address in the range. | string | End IP Address | |
RangesItemA range of IP addresses to cache. | dict | RangeDict | |
typeThe IP address type. Default: "IPv4" Range: IPv4, IPv6 | string | IP Address Type | |
firstrequiredThe first IP address in the range. | string | Start IP Address | |
lastrequiredThe last IP address in the range. | string | End IP Address | |
RangesItemA range of IP addresses to cache. | dict | RangeDict | |
typeThe IP address type. Default: "IPv4" Range: IPv4, IPv6 | string | IP Address Type | |
firstrequiredThe first IP address in the range. | string | Start IP Address | |
lastrequiredThe last IP address in the range. | string | End IP Address |