Notes

Astro 7 on Cloudflare Pages — a sober setup

Published on

This site is built with Astro 7 and deployed as a static site on Cloudflare Pages. No server, no database, no client-side framework. That is a deliberate choice: it keeps the attack surface small, the build fast and the hosting free.

Key decisions:

  • Static output with output: 'static' and the sitemap integration for i18n.
  • CSP-friendly script handling with assetsInlineLimit: 0 so Astro does not inline scripts.
  • Only one small theme script, lazy-loaded to keep JavaScript near zero.
  • SVG avatar and favicon to avoid image weight and keep the pixel-art look sharp.

The result is a site that loads fast, respects privacy and stays easy to maintain. For a portfolio, that is usually enough.

← Back to notes