EdgeWorkers is a serverless solution that uses scripts that are invoked at the different phases of an HTTP request. This provides an opportunity to improve performance, by moving compute operations closer to your users.
Once you add EdgeWorkers to your property, you can activate custom scripts and efficiently implement enhancements outside of Akamai Control Center. You can write functions that access HTTP headers, cookies, and URLs in order to construct complex logic.
So, if you want to implement Ion enhancements, but don't have significant experience with Control Center or Property Manager, you can use EdgeWorkers.
Here are some more examples of how you can use EdgeWorkers.
- Redirect requests based on geography, device, and user-agent.
- Apply conditional logic to filter traffic and construct responses.
- Add or remove debug information from an HTTP message.
- Respond with custom error responses, even when the origin is down.
There are some administrative tasks required to configure your Ion property to execute EdgeWorkers functions.
You can find full requirements and usage details in the EdgeWorkers documentation.
We've put together some tutorials that show you how to get an EdgeWorkers function up and running on your site. You'll learn how to set up the EdgeWorkers service and then create and deploy the Hello World code bundle using the EdgeWorkers Management application, API, and CLI.
Updated 23 days ago