khajur

Use Proxy page for selective pages

Discussion created by khajur on Oct 22, 2012
Latest reply on Oct 23, 2012 by khajur
I have an app that is currently configured to use proxy for all layers, using:
esri.config.defaults.io.alwaysUseProxy = true;


Problem with that is. although it secures my featurelayers, all the layers including basemaps are routed through it which makes it slow.

Is there a way to tell the app which layers to route though proxy and which not to instead of just setting "alwaysuseproxy" to be true or false universally?

Outcomes