Bust cached remoteEntry.js file

See original GitHub issue

Is there a way to bust a cached version of the remoteEntry.js file without rebuilding the host?

If so, can we get an example on how it can be achieved?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
ScriptedAlchemycommented, Aug 1, 2020

dynamically inject it or use a querystring along with a preload tag image

Use the CDN and cache-control headers

OR

During CI, write a JSON map of cache busted file names to look up and inject (can increase RTT)

3reactions
ScriptedAlchemycommented, Jun 2, 2021

Inspect lululemon’s website. We have like 4 federated containers all cache busting, been in prod for well over a year

Read more comments on GitHub >

github_iconTop Results From Across the Web

WP5 Module Federation: remoteEntry.js caching
Cache busting implies to re-build (or, at least, post-process) the main app bundle, and that is one of the problem module federation tries ......
Read more >
Christoph Werner on Twitter: "Does webpack module ...
Does webpack module federation have a problem with caching of remoteEntry.js? This file is not hashed, and we're seeing the need to manually ......
Read more >
Caching - webpack
This guide focuses on the configuration needed to ensure files produced by webpack compilation can remain cached unless their content has changed.
Read more >
Wp5 Module Federation: Remoteentry.Js Caching - ADocLib
Is there a way to bust a cached version of the remoteEntry.js file without rebuilding the host? If so can we get an...
Read more >
Cache busting JavaScript files using webpack and ASP.NET
Luckily if you're using webpack there's an easy way to append a unique id to your bundled files to bust the cache. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found