如何解决SPD的缓存问题

 

SPD有时候文件被缓存住了,表现为文件的最后更改时间不对,或者本来文件已经被check in了,但是显示check out状态,而此时如果选择check in, 就会提示文件没有被check out.

解决方法:

 

 

  1. Clear cache:
    1. Close SPD2013.
    2. Delete everything at %USERPROFILE%AppDataLocalMicrosoftWebsiteCache.
    3. Delete everything at %APPDATA%MicrosoftWeb Server ExtensionsCache.
    4. Go to SPD2013 options –> General –> Application Options –> Uncheck the "Cache site data across SharePoint Designer sessions"
  2. How to find %APPDATA% folder:

Unless you've told Windows to display hidden files and folders, you won't see it. And if you can't see it, you can't click it. But there's a trick that will get you into the folder. Click Start or go to the Windows 8 Search charm, type %appdata% , and select the Roaming file.

 

 

做了上面的操作后,缓存应该被清除了,如果文件仍然显示check out状态,那么就在SPD中选择check in,会提示已经check in了,选择确定后,文件状态会自动更新成正确的。

原文地址:https://www.cnblogs.com/time-is-life/p/5579893.html