Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

adam9c1

macrumors 68000
Original poster
May 2, 2012
1,906
320
Chicagoland
Does anyone have writeups for how the caching server works?

I have about 44 GB in cache, and I have tested install of an app to a machine and it is slow... looks like it downloads from internet.

Any good write-ups how this system works?
Both machines are on the same Vlan.

It seemed like yesterday an install happened very quick but today not so much.
Yesteday I used the same Apple ID on the server and client,
Today I used different Apple IDs on the server vs. client.
 
I'm reading the forum and I see the caching server works a little different.
I do not need to download the apps on the server. Need to download on a client, then on another client.

How can I clear all of the cache?
 
I have the cache server enabled and it works fine. The server needs to be your primary DNS (obviously) on all of your devices. My server is running both DHCP and DNS for my network.
 
How can I clear all of the cache?

It's saved in /Library/Server/Caching/Data
Presumably, turning off the service and deleting everything inside /Library/Server/Caching will do it.
Note that in order for a caching server to work, you need to be using NAT on your network and have only one public facing IP address.
Apple's documentation is here if you haven't seen it.

----------

The server needs to be your primary DNS (obviously) on all of your devices.

Not true. You can even run more than one caching server on the same network and none of them need to be providing DNS services.
 
My caching server runs perfectly. Just turn it on. It has to first download the content that is being cached. You should be able to see a graphical representation of the cached data being served. For example the first time you download a game on your iPad it will not serve it from cache. The cacheing server will download it at the same time and it will be ready for the next time the download is requested. Mine is used for iOS updates mostly. It's at work, I'll send a pic tomorrow morning.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.