Search This Blog

Thursday, November 25, 2010

BLOB Caching : Boost Performance

A typical sharepoint site refers multiple CSS, JS and Image files. Other than the page itself, if we can add non-zero directive to the rest of items, then we can reduce the server round trips and in a way can improve the performance. It's not at all complex to turn on disk based caching in Sharepoint (BLOB Caching). Simply find the following line in web.config

BlobCache location="C:\blobcache" path="\.(gif¦jpg¦png¦css¦js)$ " maxSize="10" enabled="false" />

and set enabled="true" from enabled="false"

Location : Physical Location of the temporary files

Path : Filter for files (extension) to be included in process

MaxSize : Max. Size in GBs for the files to be stored on file system

additionaly we can set one more property

Max-age : (seconds) The amount of time in seconds that items should be cached on the client computer.

By setting the max-age attribute to a non-zero value, items have a expiration value associated with them and the browser no longer needs to download the item or verify if it has the latest version.

On a side note, following points should also be kept in consideration with BLOB caching

  • All front end web serves should have the BLOB caching enabled with same configuration
  • BLOB Caching works only for items in Sharepoint libraries
  • Changes in CSS, JS etc, might not reflect immediately. If such a case occurs then the option is to flush the cache by navigating to the site collection's Site Settings. Select "Site Collection Object Cache" and then click "Force this server to reset its disk based cache."


  1. Hi there to every body, it's my first visit of this blog; this blog contains remarkable and really excellent material designed for visitors.

    Feel free to surf to my page ... calories walking

  2. It's very effortless to find out any matter on net as compared to textbooks, as I found this paragraph at this site.

    My web-site - best registry cleaner

  3. This is the right web site for anyone who wants to find out
    about this topic. You know so much its almost
    hard to argue with you (not that I actually would want to…HaHa).
    You definitely put a fresh spin on a subject which has been discussed for a long time.
    Excellent stuff, just excellent!

    Feel free to surf to my homepage microsoft registry cleaner

  4. com, the best facebook chat alternative and online chat solutions
    to businesses, offers live chatting online with the young
    ones in mind. And we are going to have a lot of other real people in it, popping up.
    For the latest in television news, follow me on Twitter @Phyllis_Thomas.

    Feel free to visit my web page: webcam

  5. Stress, bad diet, medial issues, and a lot more can start to
    wear on the body and hormonal shifts could cause body
    weight to increase. Her standout scenes including a tender moment as she jams a hypodermic needle into a nosy patient's eyeball and a moment where she kills a male prostitute with
    a pair of scissors. The role they play in the development is yet not
    very clear.

    Also visit my blog ... Where can i buy venus factor

  6. The place was rather cold, there were not sexy decorations or
    music to get you inside mood, no sexy wait staff serving your drinks, the area and also the people
    within it simply existed. About one third of my clients happen to be informed they
    have adult ADD. As to the naughty ones, these come upfront and recognize their adoration for items that are certainly not so sinless.

    My weblog; free sex cams (

  7. Іf you woulԀ ike to takе a good deal from thіs post then yoս have to apply such strategies tto
    youг won web site.

    Alѕo visit my homepage ... gothic 3 pobierz