NewObject Storage is live: S3-compatible, 10 GB of storage free every month, pay as you go beyond that.Learn more

Edge Workers Run JavaScript at every PoP.

Edge Workers let you rewrite, redirect, authenticate and assemble responses right on the CDN edge, close to your users and in front of your origin.

  • JS runtime
  • Per PoP execution
  • Isolated per tenant
console.yeap.cloud
worker.jsJavaScript at every PoP
deployed
  • Routeexample.com/api/*
  • Handlerfetch(request)
  • IsolationPer-tenant sandbox
  • DeployConsole or API

Capabilities

Logic where the traffic is

Familiar API

A fetch-style handler with Request, Response and URL you already know.

Sandboxed

Each tenant runs in its own isolated engine with time and memory limits.

Redirects and rewrites

Move old URLs, run A/B splits and normalise paths without touching the origin.

Edge auth

Check tokens or signatures at the edge and reject bad requests early.

Routes

Attach a worker to any hostname and path pattern on your CDN domains.

Logs

Inspect worker output and errors next to your CDN access logs.

FAQ

Frequently asked questions

Documentation
Do I need a CDN plan?

Yes. Workers run on CDN domains and are managed from the same console.

Which JavaScript is supported?

Modern ES modules with the standard fetch API. See the docs for the full list of globals.