JAMstack
Pre-rendered frontends with APIs and microservices
Last updated: 8/15/2025
JAMstack
JAMstack sites pre-render pages at build time or on-demand, serve them via CDNs and consume APIs for dynamic features. This reduces server load and improves performance and security.
When it fits
- Content-heavy sites where most pages can be cached globally
- Marketing sites, documentation, blogs and SaaS frontends
Risks
- Build times for very large sites
- Dynamic personalisation requires edge or client techniques
Real-world examples
- Documentation portals and marketing sites for many SaaS companies served globally via CDNs
- E-commerce catalogues using static generation with client-side cart and checkout via APIs
Practical tips
- Use incremental static regeneration and edge caching for scale
- Offload dynamic features to APIs and edge functions