AnsweredAssumed Answered

how to tell client app that a service should use the proxy?

Question asked by eliprandi on Mar 5, 2013
Latest reply on Mar 6, 2013 by eliprandi
Hi,
We have implemented the proxy approach to provide token-based authentication without passing tokens down to the client. This works great. However, the approach seems to have a major flaw: it requires that ALL traffic be routed to the proxy (using esri.config.defaults.io.alwaysUseProxy = true). This ends up having a pretty bad impact on the performance of tile services from ArcGIS.com (to the point where we will likely not recommend using them as it is).

This seems to be a simple question, but is there a way to tell the esri client javascript which services/layers should be proxy-ed? I'd rather have a white-list vs. black-list approach for now.

Thanks for the help,

Eric.

Outcomes