Configuring BLOB Caching for SharePoint Web Application

BLOB Caching is a feature that isn't well known in SharePoint but serializes large objects to disk on the Web Front Ends to avoid database round-tripping. BLOB Caching would prove beneficial for those who work with large file sizes as this improves page delivery time as cache stores files on front-end server and reduces database traffic. You need to enable BLOB Caching you need to edit your web.config file and changes will be applied to all site collections within the web application.

BLOB is Binary Large Object. here are the steps......

Open web.config file of your Web Application.

You can locate web.config file's location from IIS Manager.

Enable and configure the disk-based cache(BLOB)

    • In the web.config file, find the following line:
    <BlobCache location="C:\blobCache" path="\.(gif|jpg|png|css|js)$" maxSize="10" enabled="false"/>
  •               change enabled parameter, from       "false" to "true"

    • To change the size of the cache, type a new number for maxSize

    .                   The size is expressed in gigabytes (GB), and 10 GB is the default.

  •                 If the directory that is specified in the location parameter does not have enough space to accommodate the cache size, you can type a new directory
  •                   for the location. 
    • To add new file types to the BLOB cache, type the file type next to the other file types. Separate each file type with a pipe (|) character as shown in the file.
  • Save the file, and close the file
  • There is no need to reset the iis after doing this.
  • 1 Comment

    • I have issues in blob cache. I have changed the web config details. But when i watch throu fiddler, the blob cache is not working. help me to solve this.

    Comments have been disabled for this content.