Friday, June 7, 2013

SharePoint 2010: Flush BLOB cache

Recently I needed to flush the BLOB cache. But how should I do that? Simple, just use the script below.
$WebApp = Get-SPWebApplication "WEBAPPNAME"
[Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($webApp)
Write-Host "Flushed for WebApp:" $WebApp
After that, you flushed the BLOB cache.

No comments:

Post a Comment