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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:13:17+00:00 2026-05-24T18:13:17+00:00

I have an app that has a bunch of resources. Having read about javascript

  • 0

I have an app that has a bunch of resources. Having read about javascript loaders I decided to see what kind of boost I’d get from loading resources asynchronously. To my surprise I found that using a loader was visibly slower (no stopwatch needed). This has me wondering if others had similar results and what a dev ought consider regarding when to use or not use a javascript resource loader.

Here are some details about my tests:

  • Currently have 60 resources (primarily scripts)
  • Due to dependency hierarchies scripts had to be loaded in about 8 batches
  • Primarily used Firefox (but tried in Chrome as well)
  • Ran tests on both Ubunutu and Windows
  • Using a loader (YepNope in my case) does add a little overhead
  • I wrote a small bootloader class to simplify my interaction with YepNope.
  • Source code is on github (run tests.html and tests-loader.html)

When I say “slower” I’m not saying it’s terribly slow. It’s just that I had to spend some time to set this up and that the results were worse than before I started.

Is 60 resources too few to use a loader? Should resources generally be huge or can they be a bunch of small files? What kinds of things would cause a loader to be slower than using traditional script tags?

  • 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-24T18:13:18+00:00Added an answer on May 24, 2026 at 6:13 pm

    Resources are loaded asynchronously? First of all, is the device you are using multi-core? Async. loading is only useful if you have a multi-core computer, laptop, tablet, phone, or other device.

    Second, is the loader you use a quality one? Try different loaders, as I see it, there are no standard “this is good” loaders right now, so one you have might be broken. Another one may work.

    Are you sure browsers aren’t already optimizing page resource loading? Using an alternate way may actually get in the way of new and faster browsers, slowing down page loading.

    Personally I haven’t used these loaders, these are just my educated guesses.

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

Sidebar

Related Questions

I have an express app that has a bunch of static javascript files that
I have a Silverlight app that has a bunch of styles that are referenced
I have an app that has a scrollview with a bunch of different textviews
For an iPhone app that has to have a bunch of data inserted before
In my Swing app, I have a screen that has a bunch of JTextFields.
Have an app that has listings - think classified ads - and each listing
I have an app that has a centre view with two views off to
I have an app that has a tabbar at the bottom. When I select
I have an app that has a TableView, NavigationView and TabBar running together. There
I have an app that has a list of items. My customer prefers to

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.