---
title: Routing
description: Configure routing architectures for Workers static assets, including asset-only and Worker-first modes.
image: https://developers.cloudflare.com/dev-products-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/workers/llms.txt  
> Use this file to discover all available pages before exploring further.

[Skip to content](#%5Ftop) 

# Routing

Learn how to configure different architectures for the static assets of your Worker.

* [ Full-stack application ](https://developers.cloudflare.com/workers/static-assets/routing/full-stack-application/)
* [ Single Page Application (SPA) ](https://developers.cloudflare.com/workers/static-assets/routing/single-page-application/)
* [ Static Site Generation (SSG) and custom 404 pages ](https://developers.cloudflare.com/workers/static-assets/routing/static-site-generation/)
* [ Worker script ](https://developers.cloudflare.com/workers/static-assets/routing/worker-script/)
* [ Advanced ](https://developers.cloudflare.com/workers/static-assets/routing/advanced/)

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/workers/","name":"Workers"}},{"@type":"ListItem","position":3,"item":{"@id":"/workers/static-assets/","name":"Static Assets"}},{"@type":"ListItem","position":4,"item":{"@id":"/workers/static-assets/routing/","name":"Routing"}}]}
```
