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”.
We can increase this size using workflow manager PowerShell, Below is the URL to do so for step by step:
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.
- 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.
- 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“
You may like following SharePoint designer 2013 tutorials:
- [Solved] SharePoint 2013 Designer error The folder name is not valid
- SharePoint 2013 designer workflow changes not updating
- SharePoint Designer cannot display the item error while trying to edit workflow using SharePoint 2013 designer
- Impersonation step in SharePoint 2010 designer workflow
- Error were found when compiling the workflow. The workflow files were saved but cannot be run.
- HTTP Error 400 The size of the request headers is too long SharePoint Online Office 365
- Workflow failed to start canceled by system account SharePoint 2013
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.