I have too much of javascript in the beta site of mine which will be the real one, So what I am thinking is to make the javascript external BUT this raises some really important questions.
- What is the standard size for an external javascript (e-g should be never more than 50KB per file).
- How many javascript files should be make if the above question is answered like that the size doesn't matter, then does it mean I should put all scripts (including Jquery library) in one external file?
- If a javascript is already minified and it is added with other files that are not minified will it effect the one that is already minified?
- What is the best minifier for Javascript and CSS (best means that maintains the standards).
- If I place the external script just after
<body>is it good enough?(as if I go more lower some scripts might stop working).
Here is the link to beta site just incase if you want to check http://bloghutsbeta.blogspot.com/