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

  • Home
  • SEARCH
  • 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 8380687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:31:15+00:00 2026-06-09T16:31:15+00:00

Before I start learning how to use the jQuery library I want to reassure

  • 0

Before I start learning how to use the jQuery library I want to reassure myself about something that is concerning me with regards to the size of the file…

I’m well aware that browsers and servers cache files such as jQuery – meaning, in theory, that the file should only be downloaded the once, and therefore speed of subsequent use is increased.

My questions is more about how browsers handle javascript files, and whether there is a detrimental effect in having a 32k code file being processed by the browser each and everytime a page is loaded? It’s not just the size of the file either, but the complexity of it at the same time.

Or is my understanding incorrect, and that browsers not only cache the javascript file, but also some sort of “compiled” version of that file? (Yes, I know javascript is not actually “compiled”, but hopefully you know what I mean.)

I guess the majority of browsers have the ability to process the file quickly enough that it will make next-to-no difference, and that the speed benefit of having to process less code written to utilise jQuery makes up for it.

  • 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-09T16:31:17+00:00Added an answer on June 9, 2026 at 4:31 pm

    Your concerns with asset size and js engine performance have a few overlapping factors you need to consider. Ultimately only you will be able to determine what is appropriate/acceptable for your project.

    Size

    Possibly stating the obvious but we will start here.

    Any opportunity you have to reduce the size of assets consumed by a page is a good thing. Keep your markup, styles and js lean. Steer clear of adopting the mentality that your user base will always have a high speed connection at their disposal. For example, think of a mobile audience and how their connection speed will fluctuate. A page that loads quickly is the first step to a great user experience.

    Trim the fat and make sure you have validated your inclusion of jQuery into your project.

    Why jQuery?

    Your stating “Before I start learning how to use the jQuery library” leads me to believe you may be new to web development and js development. Not intended as a dig on you or the validity of your question but this assumption will drive where I’m going here.

    Overall exposing yourself to the jQuery library would be a great thing, even if it is not the right choice for your project.

    The jQuery library has matured into something pretty exceptional over the years and provides some elegant solutions to every day cross browser js problems. Browsing the source code and getting to understand some of the concepts implemented will only help you along the way.

    Also, jQuery is everywhere. Regardless of any personal opinions you may form, jQuery is one of the most popular libraries in a developers toolbox and doesn’t appear to be going anywhere. Even if you never use jQuery in projects you develop from the ground up, you will surely encounter somewhere along the way. Being familiar with the library will only benefit your development efforts.

    Ultimately you need to evaluate why you are considering bringing jQuery into your project. Is it just the selector engine you will be using most? If you are doing basic DOM manipulation and only need a good selector engine, consider going straight to Sizzle, it is just 4KB (minified and gzipped).

    Maybe jQuery is a dependency of a cool plugin you want to include. Can you rewrite it on your own to lean it out? Size the work and examine if the effort is worth the possible file size savings. If you are saving just a few KB but need 40 hours to complete the work, is it worth it?

    Browser Support Matrix

    Create a browser support matrix. The browsers you support will have a direct impact in not only the speed but also the size of your assets.

    Performance/Speed

    Examine the performance differences of the supported js engines. This will allow you to forecast speed of js on the page, from there you can make any concessions toward what you feel is acceptable.

    Keep in mind the quality and integrity of the js (both yours and that of libraries such as jQuery) will greatly influence performance as well. Faster js engines such as V8 for Chrome may be a bit more forgiving of poorly written js where as JScript for IE7 may expose the flaws and greatly degrade performance.

    jQuery is a library that certainly factors performance in the js that is authored for the core. You will likely find that most performance challenged jQuery originates from 3rd party plugins that may not do extensive cross browser benchmarking.

    Size Considerations

    As noted above, jQuery is packaged with a number of cross browser fixes for various gaps in DOM API support. This may save you considerable effort or add some bloat that may not be needed. Examine which way your support matrix leans (older browsers vs modern browsers) and determine how this may impact your project. If you find yourself solely targeting the latest and greatest browsers, it is conceivable you may be able to author your own jQuery modeled library adding in only the features needed for your project. Don’t forget to size the work and see how it impacts the bottom line.

    Use jQuery

    The bottom line is that if your project relies heavily on js to aide in functionality and user experience, it’s tough to argue usage of jQuery would be a bad choice. When you take into consideration the effort required, you likely won’t have the man hours available to write leaner/more efficient code. Think about the effort required not only author an equivalent library (even if pruned of features) but the effort required to maintain it. You need to have the coding chops on par with an army of developers to keep pace.

    Whatever you decide, good luck to you!

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

Sidebar

Related Questions

before I start I want to point out that I tagged this question as
Before I start, I want to make it clear that my code is working
So.. I'm looking to start learning C++. I've touched on it before and I've
I want to get one record before start date and end date DtpFrom means
Am using Mediainfo library in my C# project,before start invoking this dll,i just ran
I'm learning about DDD, and have come across the statement that value-objects should be
Ok, I think before I start I should just say that I'm a complete
Before I start I must say that I maybe biting more than I can
I'm learning about C# and one of the areas that interested me were delegate
I am beginner and wanna to learn few things before i start php dev/learning

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.