Inline “ and “ vs. separate `.js` and `.css` — what’s the size treshold? · Mathias Bynens

When is it acceptable to use inline <script> elements? When is it better to use separate .js files? The same question can be asked about inline vs. linked CSS — where do you draw the line?

http://mathiasbynens.be/notes/inline-vs-separate-file