AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cloudflare

Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without naming a Cloudflare product; then find the relevant skill or documentation.

Original source
cloudflare
License
Apache-2.0
Pinned revision
e44f580f9c4fa3bf268e284ae7706c7954ba31fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read cloudflare--cloudflare at revision e44f580f9c4fa3bf268e284ae7706c7954ba31fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 135

references/static-assets/patterns.md

Static Assets Routing Patterns

Decide which requests need application logic before choosing configuration. Record expected behavior for public files, API paths, protected content, browser navigation, and missing URLs.

| Routing need | Documentation | |--------------|---------------| | Serve public assets with minimal Worker involvement | Default Worker routing | | Combine a SPA with API routes | Advanced SPA routing control | | Require authentication or transform assets before serving | Run Worker before each request | | Route an OAuth callback or selected dynamic paths to the Worker | Run Worker first for selective paths | | Select assets for locale or experiment variants | Asset binding API and Worker-first routing | | Serve generated HTML with a custom 404 | Custom 404 pages | | Apply static cache/security headers or redirects | Custom headers and redirects |

Keep public asset paths eligible for direct serving when they do not need application logic. Ensure protected paths cannot bypass the authorization handler through an asset match or navigation fallback. For locale or experiment routing, map accepted variants to known build outputs and define a fallback explicitly.

Use configuration.md for setup and gotchas.md for representative request checks.