SR-001 — Static Website Deployment: System Requirements

By Engineering Team•October 12, 2026•4 min read
Metadata Details
System Name astro-static-site Technical & Deployment Specifications
Document ID SR-STATIC-001
Author Engineering Team
Status Draft / Implementation

Traces back to BRD-001 — Secure, Low-Cost Public Website Hosting.


1. Functional System Requirements

ID Description Traceability (BRD)
SR-F-01 The application framework must perform ahead-of-time static site generation (output: 'static' in Astro), outputting plain HTML, CSS, and client assets to a local dist/ directory. BR-1.1, BR-2.1
SR-F-02 (Pages Hosting) dist/ is served by the environment’s Cloudflare Pages project, uploaded by app.yml with Wrangler (direct upload, no Git connection) when a person releases a commit of main there (SR-005, SR-007); a push or a merge deploys nothing. BR-1.3, BR-3.1
SR-F-03 (Private Origin) The Pages project is the only origin, and it has no separately addressable server: readers reach pages only through the zone’s apex and www, behind the zone’s protections. BR-2.3

2. Non-Functional & Security Requirements

Edge protection, TLS, response headers and caching for the site are specified once, in SR-009 and the zone baseline SR-INFRA-008.