locked
BlobCache for SharePoint Site not working RRS feed

  • Question

  • Hi,

    I have configured blobcahe for sharepoint site for better performance. But I have noticed that it is not working and grown only 45 KB in size during the last 2 months. Also upon looking in blob cache folder I have noticed that only some of the extensions (jpg, css, gif) are cached in BLOB folder. FYI I have included included following extensions in web.config file

    <BlobCache location="C:\blobCache" path="\.(gif|jpg|png|jpeg|jpe|jfif|bmp|dib|tif|tiff|ico|png|wdp|hdp|css|js|asf|css|js)$" maxSize="10" enabled="true" />

    FYI: I have alloted 10 GB space for BlobCache folder which is enough for my environment.

    Is there are any further setting which needs to be configured ? Any help and support in this regard will be greatly appreciated.

     

    Thanks


    Muhammad Tariq khan
    Friday, December 23, 2011 7:50 AM

Answers

  • Hi Muhammad,

     

    From your narration, it seems that everything has been configured correctly.

     

    Here are some limitations of Blob Cache:

     

    a)         Blob caching does not support web gardening

    b)         Blob caching cannot be used with host named site collections

    c)         A cached item is only available in one frontend server

     

    For the detailed information, please refer to this blog:

     

    http://blogs.technet.com/b/stefan_gossner/archive/2009/05/02/moss-2007-blob-caching-and-it-s-limitations.aspx

     

    Hope this helps.

     

    Thanks.


    Pengyu Zhao

    TechNet Community Support

    Monday, December 26, 2011 9:08 AM

All replies

  • Hi Muhammad,

     

    From your narration, it seems that everything has been configured correctly.

     

    Here are some limitations of Blob Cache:

     

    a)         Blob caching does not support web gardening

    b)         Blob caching cannot be used with host named site collections

    c)         A cached item is only available in one frontend server

     

    For the detailed information, please refer to this blog:

     

    http://blogs.technet.com/b/stefan_gossner/archive/2009/05/02/moss-2007-blob-caching-and-it-s-limitations.aspx

     

    Hope this helps.

     

    Thanks.


    Pengyu Zhao

    TechNet Community Support

    Monday, December 26, 2011 9:08 AM
  • Hello All

    Maybe this cames to late ... but ...

    The BLOB cache stores its files on disk in a folder structure that mirrors the structure of the SharePoint Server site. For example, a SharePoint Server file with a URL of http://contoso/sites/publishing/documents/somefile.jpg will be stored on disk with a path similar to c:\BlobCache\14\11111111\AB25499AF39572\sites\publishing\documents\somefile-1238DEF8097AB.jpg. This path contains random strings that prevent the cache from overwriting old versions of files when adding new ones to the cache because the old versions on disk might still be in use. Files in host header sites collections will have an extra unique string added to their paths. This prevents http://contoso/images/logo.jpg from colliding with http://northwinds/images/logo.jpg. There’s a 260 character limit for file paths in the Windows® operating system. Because the BLOB cache adds unique strings to the paths of files in the cache, it is possible to have a URL to a file in SharePoint Server that is long enough to exceed this limit when the cached file is written to disk. Try to keep URLs reasonably short because files with excessively long URLs cannot be served from the BLOB cache. Server-relative URLs should be shorter than 160 characters to be BLOB cached.

    Thursday, October 18, 2012 11:29 AM