Load CSS and JS asynchronous optionally
CSS:
<link rel="stylesheet" href="/path/to/my.css" media="print" onload="this.media='all'; this.onload=null;">
https://www.filamentgroup.com/lab/load-css-simpler/
JS:
using async
or defer
<link rel="stylesheet" href="/path/to/my.css" media="print" onload="this.media='all'; this.onload=null;">
https://www.filamentgroup.com/lab/load-css-simpler/
using async
or defer