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 3216878
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:20:45+00:00 2026-05-17T15:20:45+00:00

A simple question that I’m not sure if it has a short answer! Description

  • 0

A simple question that I’m not sure if it has a short answer!

Description
I have a files of JavaScript that to be loaded in a website here are some notes about them:

  • They are all comes from the same domain (no cross domain loading needed)
  • They are identical around the website.
  • There are several files, like jQuery, and 5 other plugins plus my own application script that is based on them.
  • Their size all compressed = 224KB, ( I combine all the files in one file then I compress them at once using YUI Compressor 2

Problem
I’ve heard that 224KB is not ideal to be in one file! and it should be split into several files with maximum of 44KB each .. I can’t recall when I’ve heard this and I’m not sure if it’s effective to split it into more files, but It’s true that 224KB takes long time to load for the first time, consider that the website is loaded with images and css of course.

I’ve minimized the need for the early loading of JavaScript file and put it on the bottom, so far this is a good progress but I need to load it assynchounosly with the HTML to gain time Source and the decission to make is:

Yes or No?
Keep it in one compressed big file? or to split them into many compressed file and loaded a asynchronously (I’m aware of handling the dependency related problems)?

  • 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-05-17T15:20:46+00:00Added an answer on May 17, 2026 at 3:20 pm

    It depends on what the site is and how important first load time is for it.

    Regardless of that though, I’d probably load JQuery and stuff like that from a public CDN. One big benefit is that it might already be cached even if they have never been to your site.

    http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/

    The Cappuccino team is a big proponent of one file — they make a javascript framework. Apps made with their tool are expected to have some load time.

    http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/

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

Sidebar

Related Questions

I have a relatively simple question that I cannot seem to find the answer
I am learning LINQ and have a very simple question that I think will
Here's a very simple question. I have an SP that inserts a row into
This is a (hopefully) really simple question - I have been told recently that
Simple yes or no question, and I'm 90% sure that it is no... but
Simple question: How do I detect that the onscreen keyboard has been displayed on
this is a simple question that you might find out if you have been
I have a simple question that I am posing mostly for my curiousity. What
I Have a quite simple question that I just cant figure out. The method
Just a simple question that I can't seem to find the answer to. myarray.length()

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.