Partager via


Manage BranchCache in Windows Server Essentials

 

Applies To: Windows Server 2012 Essentials, Windows Server 2012 R2 Essentials

BranchCache can help you optimize Internet usage, improve performance of networked applications, and reduce traffic on your wide-area network (WAN) when the Windows Server Essentials server is located remotely from your office, or when client computers connected to a local server use cloud-based resources such as SharePoint Online libraries.

With BranchCache enabled, when a client computer requests content from a remote Windows Server Essentials server, the content is cached in the local office. After that, other computers in the same office can obtain the content locally instead of downloading the content from the server again over the WAN. This can improve the performance of networked applications and reduces bandwidth consumption over the WAN.

Whether your Windows Server Essentials server is local or remote, BranchCache can improve response times for server shared folders and Web content that is hosted on the server (such as SharePoint Online libraries).

Because BranchCache does not require new hardware or network topology changes, this feature gives you a simple way to optimize bandwidth usage and improve response times for services and resources accessed over the WAN.

BranchCache scenarios

There are three basic scenarios for using BranchCache with a remote server:

  • Your Windows Server Essentials server is hosted in Microsoft Azure.

  • Your Windows Server Essentials server is hosted in the datacenter of a third-party service provider.

  • Your Windows Server Essentials server is in another office in a different physical location.

Distributed cache mode

In Windows Server Essentials, BranchCache is implemented in distributed cache mode, one of two cache modes available in BranchCache. In distributed cache mode, the content cache in the branch office is distributed among client computers. Because no additional hardware or topology changes are required, this mode works well for small offices that use a remote server or use a local server to access cloud-based services such as SharePoint Online. When you turn on BranchCache in Windows Server 2012 R2 Essentials, distributed cache mode is implemented.

Note

In larger branch offices with more than one subnet or with a large number of employees using networked applications, it can be beneficial to implement BranchCache in hosted cache mode. In hosted cache mode, the content cache is stored on one or more hosted cache servers in the branch office. For more information, see Choosing a BranchCache Design. For information about setting up BranchCache in hosted cache mode, see the BranchCache Deployment Guide.

Requirements

To use BranchCache in Windows Server Essentials, your server and client computers must meet the following requirements:

  • The server must be running the Windows Server 2012 R2 Essentials operating system or the Windows Server 2012 R2 Standard or Windows Server 2012 R2 Datacenter operating system with the Windows Server Essentials Experience role.

    On a Windows Server 2012 R2 Standard or Windows Server 2012 R2 Datacenter server, BranchCache is added when you add the Windows Server Essentials Experience role. To turn on BranchCache, you will need to sign in to the Windows Server Essentials Dashboard with domain administrator credentials.

  • Client computers must be running the Windows 7 Enterprise, Windows 7 Ultimate, Windows 8 Enterprise, or Windows 8.1 Enterprise operating system.

  • In distributed cache mode, all client computers must be on same subnet.

Note

If you connected client computers to your Windows Server Essentials server without joining them to the domain, those computers are excluded from caching by default. To include a client computer that is not domain-joined in caching, run the Enable-BCDistributed Windows PowerShell cmdlet on the client computer. For more information, see BranchCache Cmdlets in Windows PowerShell.

Note

These requirements are for BranchCache in distributed cache mode. If you plan to use hosted cache mode, see the BranchCache Deployment Guide for server and topology requirements.

Turn BranchCache on

To turn BranchCache on in distributed cache mode, you simply click a button on the Windows Server 2012 R2 Essentials Dashboard. Caching begins immediately and is performed transparently.

To turn on BranchCache in Windows Server Essentials

  1. Sign in on the Windows Server Essentials server with your Administrator account.

  2. On the Windows Server Essentials Dashboard, click Settings.

    The Settings Wizard opens.

  3. Click BranchCache.

  4. On the BranchCache settings page, click Turn on.

Use Windows PowerShell to turn BranchCache on or off

You can use Windows PowerShell to check the status of BranchCache (Enabled or Disabled) and to turn BranchCache on or off.

To turn BranchCache on or off using Windows PowerShell

  1. On the server, open Windows PowerShell as an administrator. On the Start page, right-click Windows PowerShell, click Run as Administrator, and then click Yes.

  2. Enter any of the following cmdlets at the command prompt.

    • To check the status of BranchCache (Enabled or Disabled), enter:

      Get-WSSBranchCacheStatus
      
    • To turn BranchCache on, enter:

      Enable-WSSBranchCache
      
    • To turn BranchCache off, enter:

      Disable-WSSBranchCache
      

See also