Wednesday, June 5, 2013

when blob cache must be invalidated by framework ?

As a general rule any kind of change in file content or permissions should force the cache to be rebuilt.

When a change is observed , file is removed from indexes.




OperationEffect on BLOB Cache
Editing a file that is BLOB cachedThe cached file is removed from the cache.
Deleting a file that is BLOB cachedThe cached file is removed from the cache.
Deleting a file that is not BLOB cachedAll cached files in the list containing the file that was deleted will be removed from the cache
Deleting a folder in a listAll cached files in the list containing the folder that was deleted will be removed from the cache
Renaming or Deleting a listAll cached files that were in the list will be removed from the cache
Making any changes to a list

  • ·         Permissions

  • ·         Title, or Description

  • ·         Adding or Removing Content Types

All cached files that were in the list will be removed from the cache
Renaming or Deleting a webAll cached entries in the web are removed from the cache
Adding or removing permissions to a web, changing inheritance, adding, updating, or deleting rolesAll cached entries in the web are removed from the cache
Deleting a site collectionAll cached entries contained in the site collection are removed from the cache
Modifying User Policy on the web applicationEntire cache is abandoned, a new cache folder is started

Ref : http://technet.microsoft.com/en-us/library/ee424404(v=office.14).aspx

You may also like:

Include specific folder content in BlobCache SharePoint


System.UnauthorizedAccessException to BlobCache Folder


Getting multiple hits to files after enabling BLOB cache

2 comments:

  1. [...] 1. Try to keep the content stable for live environments and blob cache should be planned for content with lesser changes, when blob is invalidated by Framework? [...]

    ReplyDelete