Cloudflare Worker
Deploy the Cloudflare Worker proxy from cloudflare-proxy/.
Steps
- Configure worker project in
cloudflare-proxy/ - Set worker secret/env
CLOUD_RUN_URLto backend URL - Deploy worker
- Validate proxy pass-through and cache behavior
Expected outcome
GET requests are proxied and cached via caches.default.
Common errors
| Error | Cause | Fix |
|---|---|---|
Missing CLOUD_RUN_URL | Env not set | Set worker env variable |
| 502 proxy error | Backend unreachable | Verify Cloud Run URL and network |
| Stale responses | Expected cache behavior | Purge cache when needed |