Question

I am looking at available options for caching in SharePoint 2016 for sites with lots of css, js, images etc in master page and page lay out and have few question around it. There are three types of caching is available I am looking at and wondering which one is better ? Please share your experience if you have seen one better then other.

At TechNet article https://technet.microsoft.com/en-us/library/cc770229(v=office.16).aspx you will see three type of caching.

•Configuring BLOB cache settings •Configuring page output cache profile settings •Configuring object cache settings

Object caching is not for css, js or blobs but wondering if configuring all three will cause any issues or degrade performance . Thoughts ?

Thanks in advance !

Was it helpful?

Solution

We implement the Object cache and Blob caches, we see the improvement in the performance. it depends upon the one's situation, every cache settings have plus and minuses.

Object Cache: if you are using the publishing infrastructure feature then this cache will help you to increase the performance. Object cache stores the objects (List, library, pagelayouts etc) in WFE's memory, which help to reduce the traffic between from WFE to SQL server. I would recommend this for better performance.

Blob Cache: as you are looking to cache the css / js files then blob cache is best option. In BLOB cache, items are store on the disks of WFE, SharePoint pick the item from WFE and render them quickly as compare to make a trip to SQL and bring the data back.

I never used the Output cache so little experience if it really helps or not? mostly what i read avoid it.

Read this technet

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top