1 min readEngineering
Why static sites feel fast
A look at pre-rendering, minimal JavaScript, caching, and the performance advantages of static delivery.
Static sites do most of their work before a visitor requests a page. The server can return finished HTML immediately instead of assembling the same page for every request.
Less work at request time
Pre-rendered pages require no database query or server-side template rendering for ordinary visits. This reduces latency and limits the number of systems that can fail.
JavaScript becomes optional
Content and navigation work without a client application taking control of the page. Interactive components can still load JavaScript where they actually need it.
Caching becomes straightforward
Static assets work well with content delivery networks. Copies can be stored close to visitors and reused until a new deployment replaces them.