- Direct request to the cross-tab proxy (httpl://pages.grim): ~2ms
- Direct request to a local in-page server (httpl://files.grim): ~1ms
- Direct request to a public server (http://grimwire.com/rel): ~58-60ms
- Proxy request through the cross-tab proxy to another page, then making a direct request to a public server (http://grimwire.com/rel): ~58-61ms
- Proxy request through the cross-tab proxy to another page, then to a local in-page server (httpl://files.grim): ~100ms-1000ms
Very strange.
local.web.dispatch({
method: 'PROXY',
url: 'httpl://pages.grim/0',
headers: { 'content-type': 'application/json' },
body: { method: 'GET', url: 'http://grimwire.com/rel' }}
)
.then(idleForSomeRandomTime) // possible bug?
.then(handleResponse);