4 ms·
defer and async are about eliminating round trip latency by opening multiple simultaneous http connections. Multiple TCP streams are sometimes faster than one.
by pipeep 13y ago
defer and async are about eliminating round trip latency by opening multiple simultaneous http connections. Multiple TCP streams are sometimes faster than one. (I say sometimes, because negotiating a new connection has an overhead)
- arunoda 13y agoBut then they are not loaded in sync. That's not the purpose here. Works for some situations.