FeatureLayer Refresh in v4.9

Discussion created by ravinder.bhatia_BSPGIS on Oct 31, 2018
Latest reply on Nov 5, 2018 by rscheitlin


I am trying to refresh the FearureLayer and it is not working and on top of that it is heavily cached as the FeatureLayer data is updated every 2-3 minutes but it's not reflecting back in the browser when we refresh it.


Can you guys let me know how can I achieve the "cacheBust: true" in the esriRequest? I am not able to achieve it from the following documentatin

request | API Reference | ArcGIS API for JavaScript 4.9 

Thank you.