Search This Blog

Thursday, November 25, 2010

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. I do not know if it's just me or if everybody else encountering problems with your blog. It looks like some of the text within your content are running off the screen. Can someone else please provide feedback and let me know if this is happening to them as well? This may be a issue with my web browser because I've had this
      happen previously. Many thanks

      Also visit my site :: calorie burn calculator

    2. Undeniably consider that that you stated. Your favourite reason appeared to be on
      the web the simplest thing to remember of. I say to you, I certainly get annoyed even
      as other folks think about concerns that they plainly don't recognize about. You controlled to hit the nail upon the top as well as outlined out the entire thing with no need side-effects , other people can take a signal. Will probably be again to get more. Thank you

      my web page ... best Registry cleaners

    3. Nice post. Here is one more post explaining shrepoint 2013 blob cache