Disabling the disk cache at the layer level
Disk caching can be disabled either at the application level or at the layer level.
Layer level configuration: If you configure a layer to not use a disk cache for specific layers in the document then the existing disk cache for that layer is automatically deleted. This will ensure subsequent sessions will pull new display tiles (for data or services that change a lot) and help to minimize the disk space being used on your machine.
To enable the layer level property:
- In the table of contents, right-click the layer you want to disable the cache for and click Properties.
- Click the Cache tab.
- Check Do not use a disk cache, under Cache usage and removal options.
-
If you have fully cached, map or globe service layer, make note of the following additonal considerations:
For fully cached layers:
If you check the option Do not use a disk cache, a warning will appear before the cache gets deleted. You must click the warning window to confirm and proceed with the action.
For ArcGIS Server globe service and map service layers:
The option Do not use a disk cache can be set by the publisher of the service to ensure that the client cannot locally cache the layer. This is common for secure or time-sensitive data. In these cases you will not be able to alter the setting. The property will appear checked on, but disabled by default.
- Click OK to close the Layer Properties dialog box.
- By leaving the Do not use a disk cache option unchecked, a new cache will be generated for the layer. This also applies to server layers, if allowed, by the publisher of the service.