OS X Network Home Folder Redirection
Network home folder is a nice tool. However, even with a small amount of users, things can slow down quite a bit when there are a lot of read/write activities. Therefore, it’s generally a good idea to redirect the ~/Library/Caches folder to a local folder. This can be easily done by setting up preferences manifest in Workgroup Manager.
1. In Workgroup Manager, click on Preferences on the toolbar, then click on Details.
2. Click on the plus button (+), navigate to /System/Library/CoreServices/ManagedClient.app and add it.
3. You can only apply the settings to one entry at a time (one user or one group), so it makes sense to use a group. With the group selected, select Folder Redirection from the right (preference ID com.apple.MCXRedirector).
4. Select Always, click on the little triangle to the left to expand, and click on New Key. The new key can be one of the three types: Login Redirections, Logout Redirections, or Other Redirections. Select Login Redirections.
5. With the newly created key selected, click on New Key again. The redirection can be one of these four types:
- deleteAndCreateSymLink: Deletes the target folder in the home folder and creates a local symbolic link in its place.
- renameAndCreateSymLink: Renames the target folder in the home folder and creates a local symbolic link in its place.
- deletePath: Deletes the target folder in the home folder.
- deleteSymLinkAndRestore: Deletes the symbolic link and restores the folder that was renamed by the renameAndCreateSymLink action.
6. There are two ways to set this up. You can either simply delete the caches folder and replaces it with a local symbolic link using the deleteAndCreateSymLink action, or you can rename the Caches folder with a Login Redirection and restore it with a Logout Redirection. I prefer the second option, and here is a screenshot of the setup.