<?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 Issue with 304 Result in IE on Feature Server Request in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-304-result-in-ie-on-feature-server/m-p/129733#M12028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a JavaScript web application running on IIS that allows users to delete and add features using an ArcGIS 10.0 Feature Server and we recently encountered a new issue.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a Feature is deleted from the map, it is removed from the SDE database and from the current view.&amp;nbsp;&amp;nbsp; However, when zooming out, the feature can be seen at other map extents if it existed when the application was started.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also, if a feature is added,&amp;nbsp; it is shown in the current view,&amp;nbsp; but cannot&amp;nbsp; be seen at other views.&amp;nbsp;&amp;nbsp;&amp;nbsp; The feature remains selectable as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To investigate the issue,&amp;nbsp;&amp;nbsp; we used Fiddler and IE Developer tools to see the requests.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the IE Developer Tools, we can see that the Requested Query on the Feature Layer is getting a cached copy of the Query and not going back to the Server because the Result shows a 304 code.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test this out,&amp;nbsp; I changed my IE browser to&amp;nbsp; ???Always refresh from server???&amp;nbsp; and this resolved the issue,&amp;nbsp; but I would like the Tiled services to utilize cached data and this is an all or nothing setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;\We are using the ON_DEMAND mode on the Feature Layers used for editing&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We had not seen this until a recent republish of the website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don???t think it is practical to force our users to change their browser settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a setting in IIS that can be used to change this behavior or something in the application that is making this happen?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;Mele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 19:16:59 GMT</pubDate>
    <dc:creator>MeleKoneya</dc:creator>
    <dc:date>2013-07-12T19:16:59Z</dc:date>
    <item>
      <title>Issue with 304 Result in IE on Feature Server Request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-304-result-in-ie-on-feature-server/m-p/129733#M12028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a JavaScript web application running on IIS that allows users to delete and add features using an ArcGIS 10.0 Feature Server and we recently encountered a new issue.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a Feature is deleted from the map, it is removed from the SDE database and from the current view.&amp;nbsp;&amp;nbsp; However, when zooming out, the feature can be seen at other map extents if it existed when the application was started.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also, if a feature is added,&amp;nbsp; it is shown in the current view,&amp;nbsp; but cannot&amp;nbsp; be seen at other views.&amp;nbsp;&amp;nbsp;&amp;nbsp; The feature remains selectable as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To investigate the issue,&amp;nbsp;&amp;nbsp; we used Fiddler and IE Developer tools to see the requests.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the IE Developer Tools, we can see that the Requested Query on the Feature Layer is getting a cached copy of the Query and not going back to the Server because the Result shows a 304 code.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test this out,&amp;nbsp; I changed my IE browser to&amp;nbsp; ???Always refresh from server???&amp;nbsp; and this resolved the issue,&amp;nbsp; but I would like the Tiled services to utilize cached data and this is an all or nothing setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;\We are using the ON_DEMAND mode on the Feature Layers used for editing&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We had not seen this until a recent republish of the website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don???t think it is practical to force our users to change their browser settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a setting in IIS that can be used to change this behavior or something in the application that is making this happen?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;Mele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 19:16:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-304-result-in-ie-on-feature-server/m-p/129733#M12028</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2013-07-12T19:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with 304 Result in IE on Feature Server Request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-304-result-in-ie-on-feature-server/m-p/129734#M12029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a similar &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/54774-Disable-Caching-on-FeatureLayer.refresh()?p=197239&amp;amp;viewfull=1#post197239" rel="nofollow" target="_blank"&gt; thread &lt;/A&gt;&lt;SPAN&gt; which talks about this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 20:13:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-304-result-in-ie-on-feature-server/m-p/129734#M12029</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2013-07-12T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with 304 Result in IE on Feature Server Request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-304-result-in-ie-on-feature-server/m-p/129735#M12030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link to the existing thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up using this code from the linked forum post in the init function and it looks promising for fixing our issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;esri.setRequestPreCallback(function (ioArgs) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ioArgs.url.indexOf("FeatureServer") &amp;gt; -1 &amp;amp;&amp;amp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ioArgs.content.returnGeometry == true) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ioArgs.preventCache = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ioArgs;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (e) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(e.toString());
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ioArgs;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:18:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-304-result-in-ie-on-feature-server/m-p/129735#M12030</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2021-12-11T07:18:54Z</dc:date>
    </item>
  </channel>
</rss>

