Learn how to execute JavaScript functions at the edge to optimize site performance and customize web experiences.

Get Started    

Use cases

The EdgeWorkers service makes it possible for you to deploy JavaScript functions at the edge and create customized experiences for your website visitors. Like most serverless solutions, EdgeWorkers scripts are invoked at the four different phases of an HTTP request. This provides an opportunity to improve performance, by moving compute closer to your users. Using every edge server as a compute node also accelerates your development and deployment times by applying solutions on a massive scale across our entire, globally distributed, Intelligent Edge Platform.

Here are recipes for some of the top EdgeWorkers use cases.

Add geo and custom data as a cookie Display pages based on location


You can find more code samples in the EdgeWorkers GitHub Repository. They are practical examples to use as a starting point for your ​Akamai​ EdgeWorkers. Feel free to use, modify, and extend!

Updated 2 months ago

Use cases

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.