Recipes
Production-focused gateway patterns you can adapt directly.
Each recipe includes:
- A concrete use case.
- The policy/upstream composition.
- Copy/paste starter code.
- Notes about runtime setup and tradeoffs.
Included Recipes
Section titled “Included Recipes”- Render Any Page to Markdown with Cloudflare Browser Rendering
- Webhook Firewall (Auth + Payload Safety)
- Public Read API with Cache + Resilience Guards
- Shadow Traffic for Safe Releases
How to use these
Section titled “How to use these”- Start with a recipe route in isolation.
- Validate behavior with a test harness and staging traffic.
- Promote shared pieces into your own custom policies.