Sharepoint Designer Web Cache

Sometimes in Sharepoint Designer I noticed that some files were showing “checked out” even though they were not!

Oh how that drove me crazy!

It’s actually a local web cache issue that caused this, and this fella wrote a small script that you can run every now and then that can clear it out… throw this in a bat file and run it at your pleasure:

cd "%APPDATA%\Microsoft\Web Server Extensions\Cache"
del *.web /S /Q "%APPDATA%\Microsoft\Web Server Extensions\Cache"
cd "%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache\"
rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache\."
mkdir "%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache"
dir "%APPDATA%\Microsoft\Web Server Extensions\Cache"
dir "%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache"
pause

One Response to “Sharepoint Designer Web Cache”

  1. Chris Keller says:

    Hey Hexane!

    Get your ass on gmail and email me! I got some stuff to talk to you about!

    - AnarchyX/Cygnus/Whatever.

Leave a Reply