<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to programmatically set layer caching options in ArcMap in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-to-programmatically-set-layer-caching-options/m-p/688215#M4715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using WMTS layers in ArcMap and would like to programmatically work with their caching options.&amp;nbsp; When you bring up the Layer Properties dialog for a tiled layer there is a Cache tab for controlling these options.&amp;nbsp; This tab also reports the folder for the layer's cache and has a button for manually clearing it.&amp;nbsp; Is there a class or interface I can get a handle on to work with these options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My real goal is to periodically clear the cache for certain layers in a map.&amp;nbsp; That way I can be sure the user is seeing the latest data.&amp;nbsp; Is there a method I can call to clear a layer's cache, or just to find its cache folder so I can clear it myself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2015 20:46:37 GMT</pubDate>
    <dc:creator>ChrisLesher1</dc:creator>
    <dc:date>2015-12-15T20:46:37Z</dc:date>
    <item>
      <title>How to programmatically set layer caching options in ArcMap</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-programmatically-set-layer-caching-options/m-p/688215#M4715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using WMTS layers in ArcMap and would like to programmatically work with their caching options.&amp;nbsp; When you bring up the Layer Properties dialog for a tiled layer there is a Cache tab for controlling these options.&amp;nbsp; This tab also reports the folder for the layer's cache and has a button for manually clearing it.&amp;nbsp; Is there a class or interface I can get a handle on to work with these options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My real goal is to periodically clear the cache for certain layers in a map.&amp;nbsp; That way I can be sure the user is seeing the latest data.&amp;nbsp; Is there a method I can call to clear a layer's cache, or just to find its cache folder so I can clear it myself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 20:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-programmatically-set-layer-caching-options/m-p/688215#M4715</guid>
      <dc:creator>ChrisLesher1</dc:creator>
      <dc:date>2015-12-15T20:46:37Z</dc:date>
    </item>
  </channel>
</rss>

