I have built a webgis using Web AppBuilder and the map that the WebGIS shows has a layer from a shapefile that is updated periodically, so I simply set the "refresh layer" parameter.
I see no issues at all using google chrome, but using microsoft edge (actually in a different environment, but with the same ArcGIS Enterprise version) actually the refresh does not work, until I open the devtools and manually disable the cache.
I've done some checks and I see that, in my environment, chrome does two operations to update the data:
- A call to the export service using a POST
- A call to _ags_map to obtain the new png image using a GET
The post is never cached by HTTP design (AFAIK) and the GET contains a guid in the url, so cache is never done because the http address is always different.
What happens, in another other environment, using edge is a bit different: a single call to export service using a GET is done (repeated every time the layer needs to be changed), and the url is precisely the same everytime; this means that the data is cached and the cached image is returned; zooming or resizing the screen means that the url of the request is changed, the cache is avoided and the data is shown.
Anyone experienced this behavior? I have no way to do other tests to verify if this is actually a browser issue or there's other things related, because either in my environment edge is not allowed and in the other environment it's chrome that is not allowed....