[ 
https://issues.apache.org/jira/browse/SHINDIG-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581845#action_12581845
 ] 

Cassie Doll commented on SHINDIG-148:
-------------------------------------

+1 on the utility method. That is what I had intended to do, just hadn't gotten 
there yet. I think another method would also be cleaner than overloading, so 
that it doesn't interfere with the spec stuff.

> makeRequest should avoid the proxy when making direct connection to urls on 
> the proxy
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-148
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-148
>             Project: Shindig
>          Issue Type: Improvement
>          Components: OpenSocial - Javascript
>            Reporter: Paul Lindner
>
> The current implementation of the socialdata servlet sends requests to the 
> shindig proxy, which then contacts itself with a signed request.  -- very 
> inefficient.
> It would be nice if the gadgets.io.makeRequest() could send XHR requests 
> directly to the backend server when using relative paths or when the 
> hostnames matched.  This would reduce a whole hop on these types of requests.
> Alternatively one could configure the batchrequest.js/jsoncontainer.js to 
> communicate directly with the backend server.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to