So i need to flush the BLOB cache on our SharePoint 2013 site. Found the below code on multiple sites but wondering if it should be done out of hours or just during the day.
My limited understanding is that all the files get reset back to 1KB and as people load pages in SharePoint the files are re-stored in the BLOB cache location we have specified. So pages might be initially a little slower to load but then back to normal?
$webApp = Get-SPWebApplication "<WebApplicationURL>" [Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($webApp) Write-Host "Flushed the BLOB cache for:" $webApp
I also came across the fact i should also have the below in there as well, which leads me to believe our side of core hours.
Can anyone advise?