Skip to main content

Cloud

Manually Flushing the SharePoint Object Cache

Today I ran into a problem getting SharePoint to flush the object cache via the UI or STSADM. Neither approach worked so I tried manually deleting the files from disk. This, however, resulted in an exception being thrown because SharePoint was still expecting to find the files at their previous location.
Finally, I resorted to turning off BLOB caching for the web application in which I needed to see updated content. This worked! The process I followed was this:
1) Turn off BLOB caching for the web application by setting <BlobCache enabled="false">
2) Delete the cache folder for the web application (Note: the folder will be named with the ID of the IIS web site for the web application)
3) Turn on BLOB caching for the web application by setting
<BlobCache enabled="true">
I would still like to know why I couldn’t clear the cache via the UI, but at least I found a workaround.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

PointBridge Blogs

More from this Author

Follow Us