I have 3 WFEs on my farm and want to ensure that when I flush the blob cache, that the cache is actually cleared.
I ran the PowerShell code below on one WFE and checked the BlobCache on the disk (C:\BlobCache) and it did not change in size or file count.
$webApp = Get-SPWebApplication "http://mywebapp/" [Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($webApp) Write-Host "Flushed the BLOB cache for:" $webApp
How do you flush the blob cache on all WFEs programatically?
How can you verify that the cache has actually been flushed?