For javascript functions that only apply to one page, in a large(ish) web app – is it better to have the scripts inline or in the main javascript file?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your application gets little traffic, use whatever you like best.
If your application gets a huge amount of traffic, you want to minimize:
1 and 2 contradict each other, so you have to pick a tradeoff appropriate to your application.