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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:24:46+00:00 2026-05-14T06:24:46+00:00

I have been optimizing my website but the one problem that stands in my

  • 0

I have been optimizing my website but the one problem that stands in my way is all the jQuery functions that I do not use. The only ones that I use are for a smooth page scroller. It just seems like such a waste of download time.

My question is: Is there any script or program that will remove the jQuery code that I do not need and leave the 1 or 2 functions that I do need.

  • 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-14T06:24:46+00:00Added an answer on May 14, 2026 at 6:24 am

    There’s no way to do this, especially since it’s not that simple. For example .fadeIn() is one method, but it calls the whole animation section of jQuery to fade the element, but that’s after your selector has accessed the traversal section including the Sizzle selector engine…that’s how most frameworks are, it’d be very tricky to remove pieces because of so many dependencies inside the framework itself.

    That being said, if you’re delivering jQuery correctly, it’s minified and gzipped, and you’re only sending about 24kb to the client which they cache so it’s just sent once, not every page load. Also, they may have already cached it from another site, the more people who point their site to the same CDN (the page you’re viewing does) the more likely this is to happen.

    Google has a CDN, details here, for example from there you can grab jQuery, or jQuery UI:

    • http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
    • http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js
    • Previous versions of these as well

    Also, Microsoft has a CDN, details here, you can fran jQuery and the validation library from it:

    • http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js
    • http://ajax.microsoft.com/ajax/jQuery.Validate/1.6/jQuery.Validate.js
    • Full list of validation files here

    Note: these are the current versions as of the time of this answer, don’t use these explicit links if you’re finding this later, there may be more recent versions available.

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

Sidebar

Related Questions

I use jQuery. I have been reading a lot about selector performance and optimizing
I've been working on optimizing a query and have ran into a situation that's
I could really use some help optimizing a table on my website that is
Have been looking at the MVC storefront and see that IQueryable is returned from
Have been studying the file system related classes of Adobe AIR 1.5, but so
I have been looking into IKVMing Apache's FOP project to use with our .NET
I have been using PHP and JavaScript for building my dad's website. He wants
I have been working on optimizing my Postgres databases recently, and traditionally, I've only
I've been working on optimizing my site and databases, and I have been using
Been optimizing an algorithm and came down to the last part. I have an

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.