I tested the web-page loading by using the Google PageSpeed tool . The result says: “Eliminate JavaScript and CSS visualization blocking in superscript content” for
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/jquery.js?ver=1.11.2'></script>
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
Source:
<head>
...
...
<script>(function(){document.documentElement.className='js'})();</script>
...
...
</head>
I want to add an async or defer tag. How can I achieve this?
source
share