What can the maximum size of a JavaScript file in a website, built for mobile be? Mine was 80kb. Now I’ve reduced it to 43kb. Should I still have to reduce its size? What can happen if its going to be a large file?
Thank you in advance.
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.
There is no ‘maximum’ size in any meaningful sense.
There are a few things you want to consider when deciding on the largest acceptable size though:
There are no hard-and-fast rules on this, so you’ll need to test your page on your target devices and make the judgement yourself.