Skip to content 2.0

Micro-frontends delivery and caching

Author: Natalia Venditto

Date First Published: Wed Jan 04 2023


Caching requests to our backend, be it a database or a server processing business logic, is very important to preserve user experience but also to control costs derived from computing resources.

Begin by the basic optimizations, even before caching:

  • Use headers to reduce roundtrips
  • Keep payloads to a minimum
  • Choose your API pattern wisely

And then…

  • Use a CDN to cache static assets
  • Use an API management system or gateway to proxy and consolidate requests
  • Explore the opportunities offered by managed infrastructure, to accelerate responses: like Cache for Redis, for example