By Omar L.
Sometimes when we are working with SharePoint Designer 2010, some files are shown as “checked out” when we don’t have them clearly in that status. That generates conflicts in the source control and versioning.
This common problem can cause waste of time and losses of code.
The problem lies in the "local web cache.”
With the following script in CMD, I will show how to solve this problem quickly. Which we will save as a file type .bat
1. Open Notepad
2. Copy the following script.
cd "%APPDATA%\Microsoft\Web Server Extensions\Cache"
del *.web /S /Q "%APPDATA%\Microsoft\Web Server Extensions\Cache"
rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache\."
dir "%APPDATA%\Microsoft\Web Server Extensions\Cache"
3. Save it as .bat
4. Run the .bat
And with this we remove the local web cache in our Sharepoint Desinger 2010.
I hope you find this small tutorial helpful.