3 ms·
This defeats the purpose of defer and async [1] [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script https://developer.mozilla.org/en-US/docs/W
by goldenkey 13y ago
This defeats the purpose of defer and async [1]
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sc...
- jey 13y agoHow so? It's the same as the old HTML, but with fewer round-trips.
- pipeep 13y agodefer 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.