<?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 do you disable client caching in L.esri.Layers.DynamicMapLayer? in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-do-you-disable-client-caching-in-l-esri-layers/m-p/807938#M437</link>
    <description>&lt;P&gt;Running into a browser caching issue with Esri's leaflet api.&amp;nbsp; Need something similar to the ArcGIS API for javascript.&lt;/P&gt;
&lt;P&gt;&lt;A title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#disableclientcaching" href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#disableclientcaching" target="_blank"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 13:31:05 GMT</pubDate>
    <dc:creator>JeffGermain</dc:creator>
    <dc:date>2023-08-28T13:31:05Z</dc:date>
    <item>
      <title>How do you disable client caching in L.esri.Layers.DynamicMapLayer?</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-do-you-disable-client-caching-in-l-esri-layers/m-p/807938#M437</link>
      <description>&lt;P&gt;Running into a browser caching issue with Esri's leaflet api.&amp;nbsp; Need something similar to the ArcGIS API for javascript.&lt;/P&gt;
&lt;P&gt;&lt;A title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#disableclientcaching" href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#disableclientcaching" target="_blank"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:31:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-do-you-disable-client-caching-in-l-esri-layers/m-p/807938#M437</guid>
      <dc:creator>JeffGermain</dc:creator>
      <dc:date>2023-08-28T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do you disable client caching in L.esri.Layers.DynamicMapLayer?</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-do-you-disable-client-caching-in-l-esri-layers/m-p/807939#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it looks like the jsapi is just adding a unique throwaway parameter '_ts' and setting it with a timestamp to dirty up their requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we could do the same thing &lt;A href="https://github.com/Esri/esri-leaflet/blob/master/src/Layers/DynamicMapLayer.js#L119-L127" rel="nofollow noopener noreferrer" target="_blank"&gt;here:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var params = {
&amp;nbsp; _ts: Date().now(),
&amp;nbsp; bbox: [sw.x, sw.y, ne.x, ne.y].join(','),
&amp;nbsp; &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;// ...&lt;/SPAN&gt;
};&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can log an &lt;A href="https://github.com/Esri/esri-leaflet/issues" rel="nofollow noopener noreferrer" target="_blank"&gt;issue&lt;/A&gt; in our repository in github, i'd be happy to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-do-you-disable-client-caching-in-l-esri-layers/m-p/807939#M438</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-12T09:27:31Z</dc:date>
    </item>
  </channel>
</rss>

