Web Performance Workshop

by Diego Cardozo @ JSConfUY 2016

View the Project on GitHub diegocard/web-performance-workshop

Async/Defer JavaScript

script

Script with no attributes

async

Script with async attribute

defer

Script with defer attribute

Example: prism.js


<script src="javascripts/prism.js" defer>
<script src="javascripts/analytics.js" async>

Main resource: here