← Glossary·Web tech
JAMstack
An architectural pattern: client-side JavaScript, third-party APIs, prebuilt Markup. Optimizes for speed, scale, and security.
JAMstack is a name for the architectural pattern where the front end of a site is prebuilt static markup served from a CDN, dynamic behavior comes from client-side JavaScript hitting third-party APIs (auth, payments, search, comments), and there’s no monolithic application server in the middle. The acronym stands for JavaScript, APIs, and Markup.
The practical advantages: deployment is just a CDN sync, scaling is automatic because the static files distribute infinitely, and the attack surface shrinks dramatically with no server to compromise. The trade-off is API tax — every dynamic feature you’d get for free in a Rails app costs a separate service in JAMstack land.
The term is fading in favor of more granular descriptions (RSC, edge rendering, ISR), but the architectural pattern still describes most modern marketing stacks.
See also
Static Site Generation
Pre-rendering pages to static HTML at build time so the server has nothing to compute on e…
Headless CMS
A content management system that exposes content via API instead of rendering its own page…
Edge Function
A serverless function that runs at the CDN edge instead of a centralized region. Lower lat…