Hosted BranchCache Mode

Hosted Cache mode uses a centralized local cache that is hosted on a server running Windows Server 2008 R2. The advantage of Hosted Cache mode over Distributed Cache mode is that the cache is centralized and always available. Parts of the distributed cache on Windows 7 clients become unavailable when the clients hosting them are shut down. Hosted Cache mode requires a computer running Windows Server 2008 R2 be present and configured as follows:

  1. Install the BranchCache feature on the server running Windows Server 2008 R2 using the Add Features Wizard, as shown below – the web server role uses BranchCache automatically after you install the BranchCache feature:
  2. When adding the File Server Role, ensure that you add the BranchCache for network files check box. If the File Server Role is already installed, then from Server Manager, select File Services node and click Add Role Services to load the Add Role Services snap-in as shown below:
  3. Edit the Computer Configuration\Administrative Templates\Network\Lanman Server\Hash Publication for BranchCache policy. Enable the Policy and select one of the following options:
    a. Allow hash publication only for shared folders on which BranchCache is enabled
    b. Allow hash publication for all shared folders
  4. If you choose to enable BranchCache only on selected shared folders, then from Server Manager go to Share and Storage Management node under File Services and edit the properties of the share that you want to use with BranchCache and then click the Advanced… button. From the Advanced dialog box, enable BranchCache under the Caching tab as shown below: