~/talk

Micro-Frontends Performance and Centralised Data Caching

slides:none on file

Argues micro‑frontends are not inherently slow and shows concrete fixes: use Webpack 5 module federation shared api to avoid duplicate React copies, and implement a simple fetch wrapper with React hooks that implements a distributed shared cache. One App at American Express (used by ~2000 developers) ships this pattern. Result: duplicate API calls on a page drop (demo from five requests to two) and server‑rendered responses hydrate the client cache so no extra fetches occur.

AI-written summary · about

  1. 0:00Introduction
  2. 2:06MicroFrontends
  3. 2:35Benefits
  4. 3:31The Problem
  5. 4:07The Myth
  6. 4:28React and Angular
  7. 4:54Strangler Pattern
  8. 5:24Migrating to React
  9. 7:17Disclaimer
  10. 8:55Duplicate dependencies
  11. 10:06Shared module federation
  12. 11:52Distributed data fetching
  13. 12:49Why do we do this
  14. 14:03What is wrong
  15. 14:45Distributed Share Cache
  16. 15:16Fetch Library
  17. 16:09Demo
  18. 18:27Code
  19. 20:59Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.