Cloudflare Worker: Secure Proxy & Cache
Budget: $30 – $250 USD
We are looking for an experienced developer to implement a secure, serverless reverse proxy for a third-party web map using Cloudflare Workers. The goal is to allow our frontend app to access the map without exposing the provider URL or API keys, while reducing AWS Lambda egress costs.
Key Requirements:
- Cloudflare Worker Proxy
- Fetch map content from a third-party provider.
- Serve content to frontend users via a Worker URL or custom domain.
- Implement edge caching (Cache-Control / TTL) to minimize repeated origin requests.
- Security / Access Control
- Validate short-lived tokens (e.g., HMAC signatures with timestamps) or header-based API keys to prevent unauthorized use.
- Ensure the provider URL and credentials are not exposed to end users.
- Optional: integrate with an existing FastAPI Lambda backend for token issuance.
Deployment & Configuration
- Deploy Worker via Wrangler or Cloudflare dashboard.
- Configure caching, route rules, and any necessary headers.
Key Requirements:
- Cloudflare Worker Proxy
- Fetch map content from a third-party provider.
- Serve content to frontend users via a Worker URL or custom domain.
- Implement edge caching (Cache-Control / TTL) to minimize repeated origin requests.
- Security / Access Control
- Validate short-lived tokens (e.g., HMAC signatures with timestamps) or header-based API keys to prevent unauthorized use.
- Ensure the provider URL and credentials are not exposed to end users.
- Optional: integrate with an existing FastAPI Lambda backend for token issuance.
Deployment & Configuration
- Deploy Worker via Wrangler or Cloudflare dashboard.
- Configure caching, route rules, and any necessary headers.