Continuing to optimized a web site, I'm using Chrome's Dev Tool add-on for Page Speed.
I've been able to do a good bit of performance tuning thanks to its suggestions, but these two have me perplexed:
I'm being told I need specify character set, but I have this in all my documents (meta tag below). It's within the head, does it need to be done prior to the HTML tag? If so, what's the syntax?
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
I know back in the day you could add a defer="defer" to the JS, but I don't think that's valid, nor does that satisfy the Page Speed validators. How do I defer JS?
Typically my sites have jQuery linked to Google's CDN, and then an overarching local site.js loaded right after the jQuery core, like so:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="/lib/js/site.js"></script>