Tip 33: Branch Cache and SharePoint 2010, or How to Make SharePoint Fast over Slow Networks

This tip is for SharePoint Foundation 2010 and SharePoint Server 2010 when running on Windows 2008 R2 and browsing SharePoint on Windows 7 and Windows 2008 R2 and up.

My internal training in the next version of SharePoint has sparked some intriguing thoughts around what will be possible in the near future to help our customers in situations where bandwidth constraints are making SharePoint performance less than optimal.

I have searched high and low, internally and our external sources (TechNet, MSDN), for any SharePoint specific information in regards to Branch Cache. There is a good white paper here; http://technet.microsoft.com/en-us/library/ff468721(WS.10).aspx on setting up a lab to test Branch Cache. The lab in this white paper is a good start on how to setup a lab where you can test the functionality of Branch Cache for SharePoint as it has steps on configuring IIS 7.5 for Branch Cache, which would be the same as setting up SharePoint for Branch Cache.

There are a few things I would like to add to the information given in the white paper though.

When testing the speed of downloading documents from the SharePoint server on client machines there is a very easy way to visualize the difference between a slower WAN type connection and the cached document download. Turn on bandwidth connection limits in IIS for the web application you are testing caching on (Figure 1). While testing, I set the Maximum Bandwidth (Bytes/second) to 57344; which is 50KB a second, or about the same as the old 56K MODEM days (Figure 2). For a multi megabyte file, you can see in the IE download window that without caching the file transfers at about 50KB (Figure 3).

Figure 1:

IIS Advanced Settings

Figure 2:


Figure 3:


The first time the document is downloaded from the SharePoint server, you will see the speed is about the same as the IIS web application bandwidth setting. Downloading the same file again, you should see that the file is downloaded much faster than the first time. This is the Branch Cache version of the file being downloaded. I could not snap a screenshot of the second download as the 3.5MB file completed too fast (under a second!).

To rerun the test on the same client run the following command to clear out the Branch Cache files on all of client computers.

NETSH branchcache flush

That’s it for now, the white paper above has some more information on how to use Performance Monitor to monitor Branch Cache usage and find out exactly how many bytes you are saving. So now when SharePoint 2010 is released you can rejoice in your new found SharePoint speed!

Comments (5)

  1. Anonymous says:

    we are about to test hosted Branch cache for Sharepoint server2010. SharePoint 2010( on server 2008 R2) in placed in the main office and clients are residing in a branch office.

    Could you please tell us the basic steps to be carried out in sharepoint and remote hosted cache server?



  2. Anonymous says:


    Good catch, you are right. The Maximum Bandwidth setting is in bytes, so to get 56Kb speed, do not use 5,7344, but 7,168.

  3. netvope says:

    The theoretical maximum speed of a 56 Kbps modem is 7 KB/s. Note that 1 byte = 8 bits.

  4. alex says:

    that doesn't work with SharePoint 2010 and office 2010 on the workstation !

  5. TDR says:

    BranchCache is still leveraged in other scenarios including Office 2010 previewing documents on SharePoint 2010 server, non-office documents, and conversations between SharePoint 2010 and Office 2007 client