An Interest In:
Web News this Week
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
December 14, 2016 03:46 pm GMT
Original Link: http://calendar.perfplanet.com/2016/prefer-defer-over-async/
Prefer `defer` Over `async`
Steve Souders:
Comparing the ASYNC and DEFER waterfalls, we see that using DEFER makes DOM Interactive fire sooner and allows rendering to proceed more quickly.
Even though <script async></script>
is more commonly seen in the wild, defer
is typically preferable as they can never block other syncronous scripts, as well as load in predictable source order.
Direct Link to Article — Permalink…
Prefer `defer` Over `async` is a post from CSS-Tricks
Original Link: http://calendar.perfplanet.com/2016/prefer-defer-over-async/
Share this article:
Tweet
View Full Article