โ Cloudflare & Edge Computing learning pathCloudflare & Edge Computing ยท Module 6 of 10
Cloudflare Workers
Workers run your JavaScript or TypeScript at the edge, near users.
๐ Key ideas
- A Worker handles fetch events and returns a Response.
- Wrangler is the CLI: wrangler init, wrangler dev, wrangler deploy.
- Workers start in milliseconds because they use V8 isolates, not containers.
- Use them for APIs, redirects, A/B tests, auth checks and header changes.
- Free tier includes a daily request allowance.
๐ก Real-life example: Like a helpful receptionist at every branch who can answer simple questions without calling head office.
WorkerCode that runs on Cloudflare's edge
WranglerCLI to build and deploy Workers
V8 isolateLightweight sandbox for JavaScript
fetch handlerFunction that answers each request