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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:25:22+00:00 2026-06-09T22:25:22+00:00

AMD seems to be the best practice to load javascript modules as-needed. This should

  • 0

AMD seems to be the best practice to load javascript modules as-needed.

This should work great on large web-apps where users only use a fraction of the available functionality.

I’ve read about the optimizer, which concatenates all required modules into a single file, and I’ve read about no optimization, i.e. loading each module with a async request.

Both don’t seem to fit this use-case: loading every module with a request might quickly result in a large number of request, whereas optimizing forces you to download all the code.

Is there a way to bundle multiple modules into a single file?

  • 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-09T22:25:24+00:00Added an answer on June 9, 2026 at 10:25 pm

    RequireJS supports this use-case with their optimization tool.

    With the proper configuration in build.js, it can be configured to bundle multiple modules in multiple files.

    Their mapping can be defined in build.js as shown in this example project

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

Sidebar

Related Questions

I am using google's CDN and also trying to load my own AMD modules
My table looks like this. Location Head Id IntTime 1 AMD 1 1 2
I've got a large scale single page app that I'm migrating to Dojo 1.7/AMD
I have a Host Javascript Application, which not use AMD, BackboneJS or RequireJS but
I'm hoping to load jquery, jqueryUI, underscore & backbone, and non-AMD jquery plugin's via
I've created a widget which I want to load via AMD in dojo 1.7.
Update: This only seems to be a problem at some computers. The normal, intuitive
Under what circumstances should I expect memcpys to outperform assignments on modern INTEL/AMD hardware?
It seems like Android 2.3 has much smaller VM budget than 2.1 amd 2.2.
If I understand this correctly: Current CPU developing companies like AMD and Intel have

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.