Is it possible to cache a map layer or feature layer on client side (the browser) using ArcGIS JSAPI, if so, can someone provide a link to documentation and/or samples?

If not, what other client technologies (e.g. Flex, .Net, SilverLight) support caching in ArcGIS?


No, the ArcGIS JSAPI itself does not provide any tools for caching map layers or features layer on the client side.

However, there are generic html/javascript tools for storing data that could be used to store it and then read in to populate e.g. a feature layer. For example IndexedDB which is used in the no longer maintained https://github.com/Esri/offline-editor-js.

If you're not limiting yourself to the browser, then the ArcGIS Runtime SDKs can provide great offline solutions, see for example https://developers.arcgis.com/net/desktop/guide/create-an-offline-map.htm.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.