robert_gsfame Posted May 13, 2010 Share Posted May 13, 2010 I have put all javascript function in my php page, n i found that it takes several minutes just to load the page...my question is if i put all javascript function outside the page (external JS), will this help?? thx Quote Link to comment Share on other sites More sharing options...
trq Posted May 13, 2010 Share Posted May 13, 2010 External js files get cached by the browser so yes, it will help. They should generally be included just before the closing </body> tag too. This will mean the entire page will load prior to the js, making it at least seem quicker. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.