Re: [fetch] Preconnect via Fetch? (#114)

Okay, so basically we want to split making a request into obtaining a connection and then making a request over that connection.

__Connections__ are "stored" in a user-agent-wide __connection pool__. They are keyed on request's url's origin and _credentials flag_.

Obtaining a connection tries to get one out of the connection pool, and if there is none, establishes one in a manner that is mostly up to the user agent (for the time being anyway).

`rel=preconnect` could then basically be defined as trying to obtain a connection if the user agent considers it a good idea.

@sleevi @igrigorik?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/114#issuecomment-143261606

Received on Friday, 25 September 2015 16:02:30 UTC