Working with Distributed Cache

“The Distributed Cache service provides in-memory caching services to several features in SharePoint Server 2013. Some of the features that use the Distributed Cache service include:




OneNote client access

Security Trimming

Page load performance


These features use the Distributed Cache for quick data retrieval. The Distributed Cache service stores data in memory and does not have a dependency on databases in SharePoint Server 2013. However, some SharePoint features may store data in both the Distributed Cache and databases.

This model describes the planning process, installation steps, and configuration tasks to perform and to implement the Distributed Cache service in your SharePoint Server 2013 farm. You must do this to ensure that the Distributed Cache service is healthy and supports dependent services as required. Use this model together with other TechNet content to plan and implement your deployment of the Distributed Cache service. ” – Planning and Using the distributed cache service – visio click here to dowload.

Join the first Distributed cache server into the farm and set the cache size, as follows:





I’ve had good results with setting the cache to 40% of the installed ram.


join the next distributed cache server in, and check the cache size in MB, if not same as first machine, stop the cache service on that machine and set it on the second machine


Set the service to run on a least privileged account, by running the commands below after changing the purple text:




One Response

  1. […] In a previous post, I mentioned the steps to least privilege the Distributed Cache; but, I really never explained the steps, I only gave the powershell. […]

Leave a Reply