Frontend & browser·Rendering and the browser pipeline
every page was rendered once at build time and the server is just handing out files.
Static site generation
Also calledSSG, prerendering, build-time rendering
Rendering every page during the build and serving the results as static files from a CDN. It is the fastest and cheapest option and the one with the fewest moving parts at runtime. It breaks down when the content changes often or depends on who is asking, because the only way to update a page is to rebuild it, and build time grows with the number of pages.