Files

Workers Static Assets

Use Workers Static Assets for new static sites, SPAs, generated sites, and applications combining assets with server logic. Inspect the framework, build output, and existing deployment configuration before changing routing.

Task Documentation
Set up and deploy a static site or application Get started
Choose configuration and an optional asset binding Configuration and bindings
Serve a client-rendered application SPA routing
Serve generated HTML and custom error pages SSG routing
Use a full-stack framework Full-stack application guides
Evaluate moving an existing Pages project Pages migration guide

Do not choose a platform solely from the framework name. For an existing Pages project, inspect its current features and migration requirements before proposing a move.

Reading Order

  1. configuration.md — build output and routing configuration.
  2. api.md — fetch assets and handle responses.
  3. patterns.md — choose a routing design.
  4. gotchas.md — diagnose routing, caching, and deployment issues.