We store all code files(.js/.css) in Style Library/Site Assets Library in SharePoint Publishing site. Sometimes, we/end users don’t see the updated JavaScript/CSS files in Browser even after clearing browser cache/restarting computer/adding query string parameter in URL(like /file.js?v=1.0). But, if we download the file manually from SharePoint Library, we could see the changes(updated one). I think it would be related to Blob Cache/Server cache in SharePoint WFE server.

Any insights please?

Kindly let me know if you need any other details. Thanks!

2 Answers 2


yes, this is definitely BLOB Cache, you need to flush BLOB cache.

Below power shell script would do same.

$webApp = Get-SPWebApplication "<WebApplicationURL>"
 Write-Host "Flushed the BLOB cache for:" $webApp

Ref link

  • Since I don't have access to server, wouldn't be able to do it everytime I make changes. I would like to know if anything can be done within site collection level like disabling caching for certain pages/master page/ site settings. Thanks!
    – Puli Bala
    Apr 25, 2019 at 7:38
  • Read about output cache profile here - sharepoint.stackexchange.com/questions/63001/… Apr 25, 2019 at 10:20
  • I have already read that post. Output cache profile is different than Blob cache and Blob cache settings can't be changed/managed by me.
    – Puli Bala
    Apr 25, 2019 at 10:40

This could also be happened when you forgot to check-in and publish that files. Without publish, only the author can see the changes.

  • Its not an issue about check-in/publish. Even some developers who made the actual change don't see it. Thanks!
    – Puli Bala
    Apr 25, 2019 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.