Skip to content
Discussion options

You must be logged in to vote

None of those three is the exact amount the host downloads. Rsdoctor is describing the auth build artifacts:

  • Total Files: every emitted asset
  • Total JS: every emitted JavaScript file, including async chunks
  • Initial JS: JavaScript attached to that build's initial chunks

With pure-runtime Module Federation, loadRemote('auth/...') fetches the manifest or remote entry plus the chunks needed by the requested expose. Other async chunks are fetched only if they are imported; preloadRemote can deliberately fetch more. So ten mini-apps do not automatically mean ten times Total JS.

For the real first-load cost, clear the app cache, load one remote, and inspect the actual requests to that remote. I…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@flix-rr
Comment options

Answer selected by dannyhw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants