Friday, April 27, 2012

SharePoint Performance Optimization - 1: Cache Configuration

SharePoint Server 2010 performance and capacity test results and recommendations 

Types of Caches:
SharePoint Server 2010 provides three types of caches (stored at front-end web server) to optimize Web page loading:
  • BLOB cache 
  • Page Output cache, 
  • Object cache. 
Site Collection Settings

Blob Cache:
  • Disk based cache for storing files referenced by Web Pages.
  • Cache is stored on disk drive of front-end web server.
  • Enabled and configured in Web.config (every web app need individual config)
  • Config scope is all site collections within one Web App

Page Output Cache:
To use this cache, Publishing feature need to be turned on.
  • Page Output Cache stores rendered output of a page.
  • Cache stores different rendition of the page (based on audience targeting and permission)
  • Can be configured at Web App level, Site Collection level, site level or at page layout level.
  • Configuration at Web App (via web.config) superseded other configuration.
  • This cache is configured using cache profiles 
  • Multiple profiles can be created but only 2 can be applied based on authenticated user v/s anonymous users.

Site Collection setting


Object Cache: 
To use this cache, Publishing feature need to be turned on.
  • Cache storing SharePoint objects (like list and libraries, site setting, page layouts, etc.)
  • Configured at Site Collection and Web App
  • Object Cache is turn on by default at site collection.
  • Object cache size is configured at web app (web.config) but at the cost of memory (RAM) of the web server.

Site Collection setting:

No comments:

Post a Comment