Static site
Static website, static site generation (SSG)
A static site is made of pages that are generated in advance and served as finished files, instead of being built by a server on every visit.
On a dynamic site, every page view runs code and often a database query before the visitor sees anything. A static site does that work once, at build time, and serves the finished HTML from a CDN. The result is fast, cheap to host and has very little that can break or be attacked.
Modern frameworks blur the line. Astro can pre-render some pages and render others on request (Server-side rendering), and caching can make a server-rendered page behave like a static one for most visitors.
In Framer
Framer publishes sites as pre-rendered pages served from a global CDN, which is a big part of why Framer sites load quickly.
How Regular approaches it
Standard renders pages on the server and then caches them: the first request after a publish builds the page, and every visitor after that gets a stored copy from the nearest edge location (Edge caching). Editors publish and see the change at once, without waiting for a full rebuild, while visitors get static-site speed.
Sources and further reading
- Static web page, Wikipediaen.wikipedia.org
- Rendering on the Web, web.devweb.dev