<?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 Some ESRI CDN-hosted files for Javascript API/Dojo are never cached in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-esri-cdn-hosted-files-for-javascript-api-dojo/m-p/156008#M14524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an application for a client and am working on optimizing page-load times. All is well. I'm under a second.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I've noticed that stylesheets that are deemed necessary for an esri map and dijits are never cached when retrieved from the ESRI CDN. Such as claro.css and &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.14%2Fesri%2Fcss%2Fesri.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.14/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;. esri.css is 41.4KB and seeing it as never caches and sometimes the response time can be pretty bad, this is just a bit annoying.&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.14%2Fesri%2Fcss%2Fesri.css" rel="nofollow" target="_blank"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've since moved my dijit themes source to the Google CDN as it will give me a 304. I could host these locally but deploying only the files I need would be a pain as esri.css references all sorts of directories and my map is so barebones, I don't want to push the whole API just to get a single 304.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any way the ESRI CDN will start caching these responses?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eddie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 20:50:35 GMT</pubDate>
    <dc:creator>EddieStathopoulos</dc:creator>
    <dc:date>2015-10-07T20:50:35Z</dc:date>
    <item>
      <title>Some ESRI CDN-hosted files for Javascript API/Dojo are never cached</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-esri-cdn-hosted-files-for-javascript-api-dojo/m-p/156008#M14524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an application for a client and am working on optimizing page-load times. All is well. I'm under a second.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I've noticed that stylesheets that are deemed necessary for an esri map and dijits are never cached when retrieved from the ESRI CDN. Such as claro.css and &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.14%2Fesri%2Fcss%2Fesri.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.14/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;. esri.css is 41.4KB and seeing it as never caches and sometimes the response time can be pretty bad, this is just a bit annoying.&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.14%2Fesri%2Fcss%2Fesri.css" rel="nofollow" target="_blank"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've since moved my dijit themes source to the Google CDN as it will give me a 304. I could host these locally but deploying only the files I need would be a pain as esri.css references all sorts of directories and my map is so barebones, I don't want to push the whole API just to get a single 304.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any way the ESRI CDN will start caching these responses?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eddie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 20:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-esri-cdn-hosted-files-for-javascript-api-dojo/m-p/156008#M14524</guid>
      <dc:creator>EddieStathopoulos</dc:creator>
      <dc:date>2015-10-07T20:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Some ESRI CDN-hosted files for Javascript API/Dojo are never cached</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-esri-cdn-hosted-files-for-javascript-api-dojo/m-p/156009#M14525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eddie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something else to try in your quest for increasing performance - using the dojo builder... This is an old article, but still contains some good information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://geospatialscott.blogspot.com/2011/06/using-dojo-build-system-to-speed-up.html" title="http://geospatialscott.blogspot.com/2011/06/using-dojo-build-system-to-speed-up.html"&gt;Geospatial Scott: Using The Dojo Build System To Speed Up Your ESRI JavaScript API Apps&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 18:04:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-esri-cdn-hosted-files-for-javascript-api-dojo/m-p/156009#M14525</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-10-08T18:04:51Z</dc:date>
    </item>
  </channel>
</rss>

