<?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: ArcGIS Server 10.2 -  HTTP Cache Control functionality changed? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-nbsp-http-cache-control/m-p/585580#M22547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did some more searching and came across the following Nimbus bug which was "fixed" at 10.2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;NIM086844 Do not set cache-control with max-age=86400 in map service's ExportMap operation &lt;BR /&gt;(f=image) response header&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that this "fix" introduced a new problem to the way clients and servers interact by requiring clients to re-query the server before using their own browser cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some way to configure the max-age value??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Aug 2013 18:14:51 GMT</pubDate>
    <dc:creator>JasonGreenlaw</dc:creator>
    <dc:date>2013-08-28T18:14:51Z</dc:date>
    <item>
      <title>ArcGIS Server 10.2 -  HTTP Cache Control functionality changed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-nbsp-http-cache-control/m-p/585579#M22546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just installed ArcGIS Server 10.2 and noticed that my JSAPI viewer no longer interacts with my services in the same way.&amp;nbsp; My dynamic map services are time-enabled and my viewer includes a time slider.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Previously, I could hit the animate button or use my scroll wheel to go through each time-step and pre-download each image; once each time-step had been downloaded once, I could animate very smoothly (especially noticeable when scrolling with mouse wheel).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, it seems ArcGIS Server 10.2 has changed the HTTP header sent with each image to specify:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Cache-Control:max-age=0,must-revalidate&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Previously, the Cache-Control, header included a nonzero value for 'max-age' and did not include 'must-revalidate', meaning that my browser was able to use its cache to quickly display images that had already been downloaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The implications of this are &lt;/SPAN&gt;&lt;STRONG&gt;many&lt;/STRONG&gt;&lt;SPAN&gt; more HTTP requests (even if most of them result in HTTP 304 "Not Modified"), and more importantly animation does not work like it used to, and I can no longer scroll through my preloaded time-steps quickly; there is now a delay when the map's time extent is changed, even if the image has already been downloaded, because my browser has to confirm with AGS that the underlying image has not changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a workaround?&amp;nbsp; Maybe some obscure service configuration parameter or JSAPI option?&amp;nbsp; disableClientCaching is already false in my viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please Help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 16:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-nbsp-http-cache-control/m-p/585579#M22546</guid>
      <dc:creator>JasonGreenlaw</dc:creator>
      <dc:date>2013-08-28T16:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.2 -  HTTP Cache Control functionality changed?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-nbsp-http-cache-control/m-p/585580#M22547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did some more searching and came across the following Nimbus bug which was "fixed" at 10.2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;NIM086844 Do not set cache-control with max-age=86400 in map service's ExportMap operation &lt;BR /&gt;(f=image) response header&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that this "fix" introduced a new problem to the way clients and servers interact by requiring clients to re-query the server before using their own browser cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some way to configure the max-age value??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 18:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-nbsp-http-cache-control/m-p/585580#M22547</guid>
      <dc:creator>JasonGreenlaw</dc:creator>
      <dc:date>2013-08-28T18:14:51Z</dc:date>
    </item>
  </channel>
</rss>

