<?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 Legend cache issue in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/legend-cache-issue/m-p/462182#M2173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcScripts &lt;/SPAN&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=16999"&gt;http://arcscripts.esri.com/details.asp?dbid=16999&lt;/A&gt;&lt;SPAN&gt; by Iain Campion to generate legend in JavaScript application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application works well and it generates legend only once. All subsequent request simply response by sending old image URL. The directory in which it generates is cleaned by ArcGIS server process so the application displays legend Label with brocken image URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcServer 9.3.1 and for reason beyond my control can't upgrade.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So question is can I change location where legend image is generated. By default it grabs Output directory of map service. Is there any way to force application to send request every time. Please let me know if I am missing anyting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Komal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 16:19:04 GMT</pubDate>
    <dc:creator>KomalFernandes</dc:creator>
    <dc:date>2011-08-18T16:19:04Z</dc:date>
    <item>
      <title>Legend cache issue</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/legend-cache-issue/m-p/462182#M2173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcScripts &lt;/SPAN&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=16999"&gt;http://arcscripts.esri.com/details.asp?dbid=16999&lt;/A&gt;&lt;SPAN&gt; by Iain Campion to generate legend in JavaScript application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application works well and it generates legend only once. All subsequent request simply response by sending old image URL. The directory in which it generates is cleaned by ArcGIS server process so the application displays legend Label with brocken image URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcServer 9.3.1 and for reason beyond my control can't upgrade.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So question is can I change location where legend image is generated. By default it grabs Output directory of map service. Is there any way to force application to send request every time. Please let me know if I am missing anyting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Komal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 16:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/legend-cache-issue/m-p/462182#M2173</guid>
      <dc:creator>KomalFernandes</dc:creator>
      <dc:date>2011-08-18T16:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Legend cache issue</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/legend-cache-issue/m-p/462183#M2174</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;Iain has indicated &lt;/SPAN&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=16999"&gt; here &lt;/A&gt;&lt;SPAN&gt;that his code supports returning base64 encoded images. can you use the base64 images instead of the URL? If the URL is use the client should cache the images so that it does not rely on the images to be present on the servers output directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Gidday, I've extending this good work by SharpGIS to include base64 encoded images so that the legends are done via text so caching not an issue. really fast. (same as the new ags online - they have a service based off this ) also added in the ability to send more than one map service at a time so you only need to make one request to the rest service - or still multiple times if you wish too. &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 15:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/legend-cache-issue/m-p/462183#M2174</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-08-24T15:20:35Z</dc:date>
    </item>
  </channel>
</rss>

