EdgeWorkers JavaScript code

Are there code samples to help me get started ?

Yes, for sure! Check out our public GitHub repository that outlines several example use cases for EdgeWorkers.


What is the JavaScript runtime used to execute JavaScript code?

EdgeWorkers uses Google's V8 engine for its code execution runtime. It is high-performing, constantly evolving/improving, and is used in similar market offerings.


What is the activation (propagation) time for EdgeWorkers code bundle updates?

Expected activation times align with delivery properties: 2-5 minutes on staging, and 8-10 minutes on production. Activations into your developer Akamai Sandbox tunnel is near real-time.


Which JavaScript libraries can I include in an EdgeWorkers code bundle?

You can use most self-contained JavaScript libraries that:
  • Can be rolled up into a flat .js file.
  • Can be included locally in the EdgeWorkers code bundle.
  • Do not try to make external calls.
  • Fit within the EdgeWorkers system limits.
You can also review this blog article on how to use rollup to flatten a JavaScript library for use within EdgeWorkers.


When will EdgeWorkers support additional languages?

We selected the V8 runtime because of its native support for JavaScript and WebAssembly (WASM). It also provides a direct path for additional language support in the future. To provide a successful environment for customer developers, we felt it prudent to focus on JavaScript, a language that virtually all developers know.

We will revisit support for other languages, based on customer demand, in our extended roadmap.