When publishing a service on arcmap how do you change the cache location? Since when a service is cached there is no way to change the option available from the default option. I went to Customize, Arcmap Options and Display Cache and I changed the path there however this did not change the path that shows the cache location when I come to publish the service.
ArcMap's cache is not used for storing the cache of services you publish, it's used to store tiles of services you use in ArcMap.
If you want to manage you map service cache, there are 2 options:
- you define cache options when publishing the service in ArcMap
- you modify an existing cache with the Caching toolset in ArcToolbox
More in detail:
When publishing your service in ArcMap, click the 'Caching' tab on the left of the Service Editor window (see 1 in the first image below). Choose to use tiles from a cache (2), then to build the cache automatically when the service is published (3). Click the Advanced Settings tab under Caching in the left pane (4) and finally set your cache directory (5).
Cache locations available in (5) have to be defined in advance in the Server Manager (see second image below). Log in to the Server Manager, click Site (A), then either change the default cache directory by clicking the Edit icon next to it (B) or add a new cache location by adding a directory (C). In the Add Directory window, choose cache as directory type (D), a location (E), and a name.
To modify an existing cache, take a look at the Caching toolset in ArcToolbox. You can move your existing cache with Import Map Server Cache and/or Export Map Server Cache. You could also choose to not create the cache when publishing the service (other option in step 3 above) and create it manually afterwards with Create Map Server Cache.