cloudflare · Cloudflare Workers Docs
Workers Routing
Configuring routing architectures for Cloudflare Workers static assets, including asset-only, Worker-first, Single Page Application (SPA), and Static Site Generation (SSG) modes.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Routing
Configuring routing architectures for Cloudflare Workers static assets, including asset-only, Worker-first, Single Page Application (SPA), and Static Site Generation (SSG) modes.
When To Use
Use when you need to determine and configure how requests are routed between static assets and Worker scripts for SPAs, SSGs, or full-stack applications.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-static-assets-routing-workflow-guide.md | A guide explaining different architectural configurations for routing static assets in Cloudflare Workers, including SPA, SSG, and full-stack approaches. | Questions about a guide explaining different architectural configurations for routing static assets in Cloudflare Workers, including... |
What This Skill Covers
- Learn how to configure different architectures for the static assets of your Worker.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/static-assets/routing
