Apple cache service testing plan & troubleshooting

Two basic ways to see if the cache server is working:

  1. Caching Server Status
    If you open the Server app and click on the Caching service in the left hand side of the main Server window, you will see a graphical representation of how Caching server is being utilised. I’ve attached a screenshot that shows my caching server at home. If your caching server isn’t working, you will see ‘none’ listed against the cache used.

  2. Cachine Server logs
    In the main Server app, you can click on the logs button in the top left hand side of the main window and select ‘Service log’ under the caching service heading. The log will detail any activity in the caching service.

As a plan:

This is the implementation plan for confirming cache operation:

  1. Confirm that the Mac Mini and iOS Device both have the same external IP address by going to on both devices.
  2. On the Mac Mini login and got the Server App
  3. Select Caching Service
  4. Confirm that the Caching Service is running and confirm and record current cache size
  5. On an iOS device Download some Applications and/or an iOS System Update
  6. Back on the Mac Mini Hover over the cache service and compare system data cache size and that it has increased and not usage.

To further confirm the following commands will be utilised in Terminal on the Mac Mini:

  1. sudo serveradmin settings caching:LogClientIdentity = yes
  2. Then reproduce the issue (by installing or updating an app on an iOS device) and run the following command:
  3. sudo serverdiagnose
    In the logs you will then be able to see the Clients taking the cache.

You can also edit the config.plist (where you do all the config) file natively in OSX and there is no need for a plist editor.