Contents
How to clear workspace cache in ArcGIS script?
To clear the workspace cache correctly in a script: The call to ClearWorkspaceCache () should be the last call in your script making sure to remove all references to any objects that may be pointing to the enterprise geodatabase workspace before making the call to ClearWorkspaceCache ().
Is there a way to clear cache in ArcCatalog?
To clear the workspace cache correctly in ArcCatalog: After using this tool in ArcCatalog you will have to navigate to a different folder in the Table of Contents and refresh before the enterprise geodatabase connection will be disconnected.
What do I need to clear workspace cache?
Specify the specific .sde file associated with the workspace you want to clear in order to clear a specific enterprise geodatabase workspace. Clearing an enterprise geodatabase workspace from the enterprise geodatabase workspace cache does not guarantee the connection to the enterprise geodatabase server will be disconnected.
What happens when I clear the cache for a service?
Clearing the cache for a service affects all the layers in all your maps that reference this service: local caches are stored on a service-by-service basis, and if you have multiple layers that reference a cached map service, they all utilize the same cache of tiles in your Windows temporary folder.
Is there way to clear local display cache?
In situations where you access such a map service, the Don’t cache any data locally choice is toggled on, and you are unable to change this setting. This clears the local display cache for the selected layer, but no other layers in the cache.
How to remove enterprise geodatabase from the cache?
The enterprise geodatabase database connection file representing the enterprise geodatabase workspace to be removed from the cache. Specify the path to the enterprise geodatabase connection file that was used in running your geoprocessing tools in order to remove the specific enterprise geodatabase workspace from the cache.