ArchitectureIntermediate
Frontend Architecture: SSR vs SSG vs Islands vs SPA
SSR, SSG, islands, and SPA solve the same problem four ways. Compare them on first paint, SEO, and freshness — and pick by page type, not fashion.
19 min
SSR, SSG, islands, and SPA solve the same problem four ways. Compare them on first paint, SEO, and freshness — and pick by page type, not fashion.
Where state lives decides latency, consistency and cost. Server vs client state, Redis cache patterns and invalidation — the decision, with its costs.