Fast websites with static site generators
Pages built in advance and served from a CDN load fast and give attackers little to aim at.
Background
On a classic website, the server rebuilds each page for every visit. With a static site generator, it only hands out finished HTML files, which cuts load times and server costs.
Benefits
Very short response times without database queries
Stable under traffic peaks thanks to the CDN
No publicly accessible database
Good conditions for the Core Web Vitals
Content stays in the CMS
Editors keep working in Statamic, which exports the site as static files or feeds content via API to generators such as Astro or SvelteKit. Each time you publish, the site is rebuilt automatically. On large sites, only changed pages are rebuilt.
Limits and hybrid set-ups
Log-in areas, personalised content and shopping baskets cannot be purely static. For these, we add dynamic areas or use Statamic's static cache. Forms and search connect through lightweight services.
Search engines
Search engines get full HTML that works without JavaScript. Meta data, structured data and sitemaps are created during the build.