You can access controls to manage the feature cache on the Map tab in the Feature Cache group. Use these controls to fill the cache, empty the cache, cancel a current cache fill, or set the cache to automatically fill. These controls are applied independently to each map in a project.
For more information on caching, see Set caching options.
Initially, the Feature Cache group is not enabled within ArcGIS Pro and the application will automatically cache features. See the following section to access this group of controls.
Show the Feature Cache group
By default, the Feature Cache group is hidden on the ribbon. Follow these steps to access the controls in this group.
- Click the Project tab and click Options.
- On the Options dialog box, under the Application heading, click the Map and Scene tab.
- Expand Feature Cache and check Manage feature cache from the Map tab.
- Click OK to save your settings and close the dialog box.
Auto Cache
When the Feature Cache group has been enabled, Auto Cache is turned on for each new map and the feature cache will fill based on the feature cache criteria. Turn this option off to manage the cache manually. The Auto Cache setting can be changed independently for each map in a project to manage this setting as your workflow requires. As noted below, if layers share the same data source across multiple maps, Fill and Empty may affect Auto Cache.
Note:
While a fill that has been initiated from Fill is in progress, auto caching is paused for the entire project until the current fill is complete.
Caution:
It is possible to turn off Auto Cache for a map and then turn off the Feature Cache.
In this scenario, maps that had Auto Cache turned off will continue not caching features. New maps and maps that had Auto Cache on will continue with Auto Cache behavior and will cache features.Fill the feature cache for the current map
The feature cache must be filled before it can be used.
On the Map tab in the Feature Cache group, click Fill to fill the cache for all layers that are visible in the map.
Caution:
If you don't see the Feature Cache group on the Map tab, follow the steps in a previous section to access these controls.
If a layer's data source is shared across multiple maps in the same project, the cached features are shared across the maps.
A notification alerts you when the cache begins to fill, when the fill is complete, or if an error occurs.
Note:
- Building a cache for a large area or for an area with many features may take some time. To cancel filling the cache, click Cancel .
- If there are no visible web feature layers in the map, or if the layers are set to not cache within the layer's properties, a fill is not supported and you will receive a notification.
Caution:
When using Fill in conjunction with Auto Cache, the Fill button will cancel any automated fills in progress. In this workflow, it is recommended that you wait 15 seconds after the map has finished drawing to allow the automated fill procedure to complete before using Fill .
Empty the feature cache for the current map
Emptying the feature cache can be done periodically if there are edits made to the underlying layer from other sources.
On the Map tab in the Feature Cache group, click Empty to empty the feature cache for all layers in the current map.
Caution:
If you don't see the Feature Cache group on the Map tab, follow the steps in a previous section in this topic to access these controls.
The Empty button is always enabled and does not become inactive. The empty operation does not occur if there are pending edits. Edits must be saved or discarded before emptying the feature cache.
If a layer's data source is shared across multiple maps in the same project, the cache for these layers in other maps is affected during the empty operation.
A notification alerts you when the cache is emptied, when an error occurs, or if there are pending edits.
Cancel filling the feature cache
If you have clicked the Fill button and the fill is taking longer than expected, or if you clicked it by accident, you can cancel the process. This button is available only when a cache is being filled.
On the Map tab in the Feature Cache group, click Cancel to cancel fill requests in progress.
Caution:
If you don't see the Feature Cache group on the Map tab, follow the steps in a previous section in this topic to access these controls.
A notification alerts you when a cache fill has been cancelled.