In this article we will discuss about Blob Cache in SharePoint 2010. Also you can check out my previous posts on:
Blob Cache in SharePoint 2010 is a very good feature for SharePoint site performance.
- This feature improve the performance of your solution when there are larger number of concurrent users accessing small number of large files.
- This feature decreases the number of data requests from SQL Server, making data immediately available to users because a copy of these files is stored in the WFE server cache.
- This copy is generated when some content is requested by a user for the first time, and remains stored in the WFE server’s disk cache until that content is modified, or when cache configuration settings will consider that expired.
- To activate the blob cache feature we need to modify the web.config file of the WFE server as follows.
<BlobCache location="C:\CacheFilePath" path="\.(gif|jpg|png|css|js|wmv|wma|mp3)$" maxSize="100" max-age="36000" enabled="true"/>
location: File path where cache content needs to be stored.
Maxsize: in gigabytes.
max-age: in seconds.
enables: this parameter is used to enable or disable blob cache.