Hi, I've been looking for this for quite some time now, and I'm not sure it's possible to do what I want. I have an angular app which make ajax call to the server, but they are both on 2 different subdomains. For example :
- http://clientAngular.test.com - http://serveur.test.com I've added the server to the white list and it's working fine, but as it's not on the same subdomain, I have an extra OPTION call for each ajax request. As the server is quite far from me a simple call is at least 200ms or 300ms. for each request that's quite a lot, and even if the OPTION process is very small it's still taking resources on the server. I know this is mandatory for CORS to make this extra call, but isn't there a way (angularjs related or not I don't know) to prevent this extra call ? I have no way to put them on the same subdomain as they might be on different servers. If anyone as a genius idea for this I will be very thankful to him/her. Thanks a lot. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
