<?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 Re: Is It Possible to Disable Caching in an AGSTiledLayer Subclass? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139775#M1296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BTW, the only workaround I've found so far it to reset the map and reload all the layers again every few minutes. Once the map is reloaded and my AGSTiledLayer subclass is added again it asks for all of the tiles again. Of course this has the side effect of filckering the map every time it reloads.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that simply removing the layer and adding another new instance of the layer back to the map does not have the same effect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 00:22:16 GMT</pubDate>
    <dc:creator>JamesRichards1</dc:creator>
    <dc:date>2012-06-22T00:22:16Z</dc:date>
    <item>
      <title>Is It Possible to Disable Caching in an AGSTiledLayer Subclass?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139774#M1295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a subclass of AGSTiledLayer. When retrieveImageAsyncForTile is called, I create a subclass of AGSTiledLayerOperation and fire of a request to retrieve the tile from a remote URL (not ArcGIS Server because it needs to be cached on a CDN). This all works great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the remote tiles are regenerated every few minutes. The problem I have is that once the tiles are regenerated my AGSTiledLayer subclass never asks for the tiles it has already retrieved. Is there a way I can tell my subclass "Hey, don't cache these tiles, just ask me for them every time and I'll implement my own caching"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks is advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 23:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139774#M1295</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2012-06-21T23:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is It Possible to Disable Caching in an AGSTiledLayer Subclass?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139775#M1296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BTW, the only workaround I've found so far it to reset the map and reload all the layers again every few minutes. Once the map is reloaded and my AGSTiledLayer subclass is added again it asks for all of the tiles again. Of course this has the side effect of filckering the map every time it reloads.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that simply removing the layer and adding another new instance of the layer back to the map does not have the same effect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 00:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139775#M1296</guid>
      <dc:creator>JamesRichards1</dc:creator>
      <dc:date>2012-06-22T00:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is It Possible to Disable Caching in an AGSTiledLayer Subclass?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139776#M1297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey JRR,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you having any trouble with your custom Tiled Layer? I've implemented a layer and for some reason after an indeterminate amount of time my map just goes blank. I'm trying to figure out if I'm doing something wrong or if there is some sort of bug in the SDK. Any advice????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 18:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139776#M1297</guid>
      <dc:creator>JonDowney</dc:creator>
      <dc:date>2012-11-05T18:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is It Possible to Disable Caching in an AGSTiledLayer Subclass?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139777#M1298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before requesting a tile from a remote URL, could you please add following line of code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//remove all url cache&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[[NSURLCache sharedURLCache] removeAllCachedResponses];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 19:14:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-disable-caching-in-an/m-p/139777#M1298</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-11-06T19:14:58Z</dc:date>
    </item>
  </channel>
</rss>

