Branchcache is only available on Windows 7 clients running Enterprise or Ultimate, and Windows Server 2008 R2. Branchcache becomes active when the round trip latency time from client to remote server exceeds 80 milliseconds.
Branchcache is available in two modes: distributed cache mode and hosted cache mode. What you just read above was the basics of hosted cached mode. Distributed cache mode works differently to achieve the same results. When a client accesses data across the WAN, it stores that data in its own cache. This way, if another client needs access to the data, it can retrieve it locally. Also, this allows each client to host part of the cache, rather than one machine hosting the entire cache.
There are two steps to configuring Branchcache on a Windows 7 client. I will not include the server configuration at this point in time.
- Enable Branchcache (Hosted or Distributed, Server 08 R2 will be required for Hosted mode)
- Configure the appropriate ports within the Windows Firewall
You can enable Branchcache from within Group Policy or by using the Netsh command. When using Group Policy, navigate to Computer Configuration > Administrative Templates > Network > Branchcache. From here you can turn on Branchcache and enable the mode you want to use. You can also set the percentage of disk space to be used for caching. After this, open the Windows Firewall and unblock the Branchcache ports. You only need to do this when configuring Branchcache via Group Policy. Using the Netsh command automatically configures the firewall. Here are the basic commands for Netsh:
Netsh Branchcache set service mode=distributed
Netsh Branchcache reset
Netsh Branchcache show status
Netsh Branchcache set cachesize
*Configuring Branchcache must be done from an administrative command prompt.