How it works
A generator, such as Astro, Hugo, Eleventy or Next.js in static mode, combines templates with content from files or a headless CMS and writes out the finished pages. The output can be hosted on any web server or CDN. This site, for example, is generated this way.
Strengths and limits
Pages are fast and there is almost nothing to hack. Content changes trigger a rebuild, which takes seconds to minutes. Anything personal, such as carts or accounts, is added with APIs or a separate app.
Questions, answered
Yes. The form posts to a form service, a serverless function or a small API that emails you or stores the message.
Through a headless CMS or Git-based editor; publishing triggers an automatic rebuild.