Two basic ways to see if the cache server is working:
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.
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:
- Confirm that the Mac Mini and iOS Device both have the same external IP address by going to www.whatismyip.org on both devices.
- On the Mac Mini login and got the Server App
- Select Caching Service
- Confirm that the Caching Service is running and confirm and record current cache size
- On an iOS device Download some Applications and/or an iOS System Update
- 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:
- sudo serveradmin settings caching:LogClientIdentity = yes
- Then reproduce the issue (by installing or updating an app on an iOS device) and run the following command:
- 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.