How to Clear Your SharePoint Designer 2013/2010 Cache?

This SharePoint designer tutorial explains, how to clear your SharePoint designer 2013 (SPD 2013) Cache, which comes in handy especially when working with SharePoint Designer 2010 (SPD 2010) & SharePoint Designer 2013 (SPD 2013). Clearing the SharePoint designer cache will remove any of your past connection histories as well as give you a “clean slate” to work from. The cache is not even cleared after doing a SharePoint designer reinstall, so this really is the only way to clear it.

Versioning with check-in/out is great but not always preferred, and certainly not infallible. As I learned on a project a few years ago – and recently bit me again when my new machine was not similarly configured – SharePoint Designer has a dirty little habit of caching files, including saying the XML/XSLT, JS, and CSS you might be working with on your site.

No need to fret though; buried in the settings of each version is a toggle that will ensure SPD never sets you back by loading a cached file.

Due to SharePoint designer cache issues, sometimes you face a few issues like:

  • Sometimes it gives an error like: Cannot perform this operation. The file is no longer checked out or has been deleted.
  • Sometimes you open SharePoint Designer and you don’t find any workflow list under list at all, or even its there and you click to open and it gives the error on load.

These issues can be resolved by clearing the cache.

There will be always a problem if we are creating a large workflow using SharePoint designer 2013/2010 in our organization that will always occur an error called “The Default Size of the SharePoint 2013 workflow is 5 MB which is quite enough until you are writing very complex or multi-level approval workflow”.

Clear SharePoint Designer 2013 cache
Clear SharePoint Designer 2013 cache

We can increase this size using workflow manager PowerShell, Below is the URL to do so for step by step:

Sharepoint 2013 The total size of the activity XAML is greater than the maximum allowed size of 51200 KB

But there will always cache will remain after following this above to increase the size of workflow, which might be panic in the future and probably occur the same error.

To fix this permanently we need to clear or delete workflow cache as well after increasing workflow size.

Clear SharePoint Designer 2013/2010 cache

Follow the below steps to clear the SharePoint designer cache.

  • Close Microsoft workflow designer on the server.
  • Open run command and enter below and hit enter.
  • %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache
clear sharepoint designer cache
clear sharepoint designer cache
  • Delete everything from above and close this
  • Again open run and paste below and hit enter
  • %APPDATA%\Microsoft\Web Server Extensions\Cache

Delete everything from above all the file permanently

SharePoint Designer 2010 and 2013: uncheck cache site data across SharePoint designer session

Open SPD (SharePoint designer 2013/2010), in my case we are using SharePoint designer 2013

Once it will open click on an option from the left side of the SharePoint Designer page.

sharepoint designer 2013 clear cache
sharepoint designer 2013 clear cache
  • Open SharePoint designer 2013/2010, then Navigate to File menu -> Options -> General -> Application Options.
  • On the “General” tab, under the “General” heading, uncheck “Cache site data across SharePoint Designer sessions
How to Clear Your SharePoint Designer 2013
How to Clear Your SharePoint Designer 2013 or SharePoint Designer 2010 Cache

You may like following SharePoint designer 2013 tutorials:

This is a quick couple of steps in order to clear your SharePoint designer cache and to hopefully resolve SharePoint Designer anomalies that present themselves from time to time.