Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The remoteEntry.js file is created by webpack without a hash on it. This means that browsers may cache it beyond when they should, or we need to find another way of cache busting it.

Straight from the author’s mouth: https://github.com/module-federation/module-federation-examples/issues/491

Answer: cache control headers or add a timestamp to the URL. I think we’ll go with the latter, since that’s dead simple.

Behavior for long-lived chunks after a new deployment

...