<?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: Caching esri 4.0 js files  in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723314#M67171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is, even if I downloaded the script files to local it still loaded from the server. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 14:47:29 GMT</pubDate>
    <dc:creator>UdyWa</dc:creator>
    <dc:date>2016-06-22T14:47:29Z</dc:date>
    <item>
      <title>Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723308#M67165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way we can cache required esri javascript files rather than loading them each time from server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require(["esri/views/MapView"])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 10:47:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723308#M67165</guid>
      <dc:creator>UdyWa</dc:creator>
      <dc:date>2016-06-21T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723309#M67166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Udy-&lt;/P&gt;&lt;P&gt;You have 2 choices: continue to reference the javascript modules via a cdn source or download and host the source on your webserver&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 15:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723309#M67166</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2016-06-21T15:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723310#M67167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The browser will handle caching the files for you. Once you load the CDN, it will just use the cache for every subsequent request. You can check this via the Chrome Developer tools, when you refresh a page, you'll see it comes &lt;EM&gt;(from cache)&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="cdn-cache.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/208431_cdn-cache.png" style="width: 620px; height: 76px;" /&gt;&lt;/P&gt;&lt;P&gt;This is a benefit of using the CDN, as it will be cached across your applications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 15:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723310#M67167</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2016-06-21T15:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723311#M67168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene, correct me if I am wrong, but the browser should cache the .js files regardless of source. I think I misunderstood the original question.&amp;nbsp; I was thinking that the issue was with the CDN . . . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 20:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723311#M67168</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2016-06-21T20:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723312#M67169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I worded it wrong. It will cache the files regardless of source, but it's a cache per domain. So whether they are hosted on your own server or via CDN, they'll get cached in the browser. I think we're saying the same thing though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I meant was that by using the CDN, like using the Google CDN for jQuery, is that it's now cached in your browser for all pages to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 20:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723312#M67169</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2016-06-21T20:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723313#M67170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, cache per domain, yes.&amp;nbsp; Yes I think we're saying the same thing as well - - -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 20:34:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723313#M67170</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2016-06-21T20:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723314#M67171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is, even if I downloaded the script files to local it still loaded from the server. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 14:47:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723314#M67171</guid>
      <dc:creator>UdyWa</dc:creator>
      <dc:date>2016-06-22T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Caching esri 4.0 js files</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723315#M67172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, yeah I'm not seeing that. Sorry I don't know what to tell you . . .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 19:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/caching-esri-4-0-js-files/m-p/723315#M67172</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2016-06-23T19:17:18Z</dc:date>
    </item>
  </channel>
</rss>

