If I restart the SharePoint server will the publishing cache be flushed?
1 Answer
No, it is not. It is only flushed by manually doing so.
$webApp = Get-SPWebApplication "<WebApplicationURL>"
[Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($webApp)
Write-Host "Flushed the BLOB cache for:" $webApp