Provide a Caching server

After you start Caching service, you can:

You can decide what network the caching clients can connect from. See Server access overview.

To learn more about how Caching service works, and best practices, see About Caching service.

You can find the current list of supported content types in the Apple Support article Content types supported by the Caching service.

If you provide caching service for clients with public IP addresses, you need to add or edit a DNS TXT record for your caching server. See DNS settings for Caching without a NAT.

Cache for clients connecting from all networks or only the local subnet

  1. In the Server app Caching pane, click Edit next to Permissions.

  2. Click the “Cache content for clients connecting from” pop-up menu, then choose one of the following:

    • All networks

    • Only local subnets (this automatically includes the Private Networks group)

  3. Click the “Serve clients with public addresses” pop-up menu, then choose one of the following:

    • Matching this server’s network

    • On other networks

  4. If you selected “on other networks,” add an IP address group by clicking Add add, then choosing the IP address group name.

    If the IP address group you want isn’t listed as a choice, you can create it here.

    1. To create a different IP address range, click Add add, then choose “Create a new network.”

    2. Enter the IP address group name, a starting IP address, and an ending IP address.

      You can put an address range in CIDR notation (for example, 10.0.0.1/16) in the Start IP Address field, and the ending address will be automatically entered.

    3. When you’ve added the desired IP address group, click Create.

    4. You may need to add (or augment) a DNS record for the caching server. Click Client Configuration to get the DNS record settings.

  5. When you’ve finished configuration, click OK.

Cache for clients connecting from only some networks

  1. In the Server app Caching pane, click Edit next to Permissions.

  2. Click the “Cache content for clients connecting from” pop-up menu, then choose "only some networks.”

  3. Add local subnets by clicking Add add, then choose an IP address group name.

    If the IP address group you want isn’t listed as a choice, you can create it here.

    1. To create a different IP address range, click Add add, then choose “Create a new network.”

    2. Enter the IP address group name, a starting IP address, and an ending IP address.

      You can put an address range in CIDR notation (for example, 10.0.0.1/16) in the Start IP Address field, then the ending address will automatically be entered.

    3. When you’ve added the desired IP address group, click Create.

  4. Click the “Serve clients with public addresses” pop-up menu, then choose one of the following:

    • Matching this server’s network

    • On other networks

  5. If you selected “on other networks,” add an IP address group by clicking Add add, then choosing the IP address group name.

    If the IP address group you want isn’t listed as a choice, you can create it here.

    1. To create a different IP address range, click Add add, then choose “Create a new network.”

    2. Enter the IP address group name, a starting IP address, and an ending IP address.

      You can put an address range in CIDR notation (for example, 10.0.0.1/16) in the Start IP Address field, then the ending address will automatically be entered.

    3. When you’ve added the desired IP address group, click Create.

    4. You may need to add (or augment) a DNS record for the caching server. Click Client Configuration to get the DNS record settings.

  6. When you’ve finished configuration, click OK.

Select a volume for caching

  1. In the Server app Caching pane, click Edit next to Volume.

  2. Select a storage volume, then click Choose.

Set cache size

Delete all cached content

  1. In the Server app Caching pane, click Reset.

  2. If you’re sure you want to proceed, click Reset again.

See also
Configure advanced cache settings