Hard to argue otherwise, especially now that no one cares about IE ≤ 9 support anymore.https://github.com/h5bp/lazyweb-requests/issues/42 …
-
-
-
`defer` *breaks* JS on IE9s. So, it's not just an "I don't really care about old IEs" stand, it's an "I actively break old IEs" one
- 3 more replies
New conversation -
-
-
would be good if browsers could pre-parse DEFER scripts in a separate thread while main thread is working
-
I think Chrome does. Take a look at Chrome Dev Tools Timeline in ScriptStreamerThread. cc
@patmeenanpic.twitter.com/8Mr7e4PO7X
- 1 more reply
New conversation -
-
-
If you use async & defer does the browser just ignore one? I'd like both benefits.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The downside to defer is that it will execute N scripts synchronously, which can block.
-
Whereas async will execute in separate, somewhat random, chunks, so hopefully smoother.
- 1 more reply
New conversation -
-
-
why not both? they des ribe different behaviours and should work together nicely.
-
If u specify both it only does the ASYNC behavior - so both is the same as just ASYNC.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.