I think I have narrowed down the problem of not being able to see my feature layer appear after the browser is refreshed. The issue is with caching. If I have the browser open, my feature layer appears. If I clear the cache, then refresh the browser, the feature layer re-appears.
Is there a way to clear the cache within the application, so the feature layer always appears if the browser is refreshed?
I tried some of these tags, but they do not work:
<meta http-equiv="Cache-Control" content="no-store">
This is not an issue when using dynamic map services. The feature layer however is an issue.
How can I clear the cache for the application to allow my feature layer to draw all the time without having to clear the cache?
Any input is greatly appreciated. Thank you!
Ian,
Here is a thread that gives ways to disable client caching for FeatureLayers