Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8513119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:28:03+00:00 2026-06-11T04:28:03+00:00

I know this may sound stupid, but does js files impede the building of

  • 0

I know this may sound stupid, but does js files impede the building of war files?

I am working with my colleague and he is saying that building the war file takes longer with the bunch of js files in our project. I don’t think it will but i can’t find the answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T04:28:05+00:00Added an answer on June 11, 2026 at 4:28 am

    There’s not enough information to answer your question. However, your co-worker may be correct. A WAR file is simply a ZIP file with a different extension. However, when you build a WAR file, many things generally happen. Your build procedure will usually do things like compiling Java files, creating metadata files, etc. It’s also possible that it performs concatenation, validation, and-or minimization of JavaScript files.

    If your build process does optimize or validate JavaScript, then the number of JavaScript files might actually matter. However, this isn’t necessarily a bad thing. You probably don’t want to overdo it without reason, but it isn’t a problem as long as your build process does the necessary minimization steps.

    Now, if your build process does not do anything to process JavaScript files, then your co-worker might be talking about another performance concern: Page load times. Having a bunch of JavaScript files to retrieve can have a significant impact on page load times for your users because of the amount of overhead in making a separate HTTP request for each file. This is further amplified in high latency situations like with mobile users. That’s why JavaScript minimization and concatenation steps are often included in modern build procedures.

    So it’s possible your co-worker was mistaken about the reason for the performance concern, but was correct in suggesting you reduce your JavaScript file count. You should talk to the person who developed the build process. If there’s no JavaScript processing in the build scripts, then you should certainly keep your JavaScript file count low for the sake of your users. If there is, and you think your coworker is full of it, you should create about 50 JavaScript files (fill them with some random JavaScript) and run a build. If the build time doesn’t seem any longer, then you know your co-worker is incorrect.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that my this question may sound pathetic to you but as a
This question may sound stupid but I wana know When do we put activity
i know this question may sound stupid to you guys, but i am a
I know this may sound like a stupid question, but numerous google searches haven't
I know this may sound crazy, but I swear that on two separate ocassions
I know this may sound silly but it seems that, my version of TortoiseSVN
just learning Java and I know this may sound stupid but I have to
hey guys i know this may sound stupid, but i am stuck with this
This may sound somewhat stupid, but I have to know as I'm writing a
I know this may sound stupid but I'm goin crazy with this XD I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.