Architecture & BFF

Jamstack Architecture

Direct Definition

Jamstack is a web architecture where sites are prebuilt into static files served from a CDN, with dynamic functionality provided by JavaScript calling APIs at runtime. It delivers fast, secure pages because there is no origin server rendering each request.

Technical Architecture & Deep-Dive

The name originally stood for JavaScript, APIs, and Markup. Static site generators and frameworks like Astro and Next.js build pages ahead of time, while forms, search, and payments rely on third-party APIs.

The challenge is that static sites have no backend to hold secrets. Calling Stripe, Mailchimp, or OpenAI directly from the browser leaks API keys and often triggers CORS errors. A lightweight edge gateway provides the missing server-side layer without reintroducing traditional servers.

Key Architectural Benefits

Serves pages from a CDN with excellent performance and uptime.
Reduces attack surface by removing origin servers from the request path.
Pairs with edge proxies for secure dynamic API features.
REALCOMPOSER EDGE WORKSPACE

Implement Jamstack Architecture at the Edge

Deploy lightweight API aggregation, edge caching, and secret injection in minutes without Docker containers or complex servers.

START BUILDING FREE

Frequently Asked Questions

Q:How do Jamstack sites call private APIs?

They route requests through an edge function or API gateway that injects secret keys server-side, so credentials never ship in static JavaScript bundles.

Related Architecture Concepts

Ready-to-Use Edge Recipes