Recipes
Register a new EdgeWorker within a particular group.
- Set up authentication
- Pick a group
- Pick a name
Get a permission group
View details on the capabilities enabled within a specified group, for example: activate a version or fetch an EdgeWorker ID.
6 stepsOpen RecipeList permission groups
View a list of groups and the associated permission capabilities, for example: activate a version or fetch an EdgeWorker ID.
6 stepsOpen RecipeList contract IDs
View the list of contract IDs that you can use to list resource tiers.
4 stepsOpen RecipeList resource tiers
View the list of available resource tiers for a specific contract ID. The resource tier defines the resource consumption limits for an EdgeWorker ID.
6 stepsOpen RecipeDisplay pages based on location
This recipe implements an EdgeWorker function to redirect website visitors to relevant pages based on the location of the request.
9 stepsOpen RecipeGet the resource tier
View the details of the resource tier assigned to the EdgeWorker ID.
4 stepsOpen RecipeValidate an EdgeWorkers code bundle
Return a list of errors and warnings containing details on how to fix your code bundle.
6 stepsOpen RecipeDownload an EdgeWorker bundle
Download the bundle containing the code the EdgeWorker executes.
7 stepsOpen RecipeList activations
View the list of activations for an existing EdgeWorker based on ID. You can choose to specify the version in the request.
6 stepsOpen RecipeActivate an EdgeWorker version
Activate an existing EdgeWorker version on the Akamai network, either staging or production.
7 stepsOpen RecipeDeactivate an EdgeWorker version
Deactivate an existing EdgeWorker version on the Akamai network, either staging or production.
7 stepsOpen RecipeCreate a secure token
Generate a random secret key. You can use this key to create an EdgeWorkers authentication token to enable enhanced debug headers for EdgeWorkers.
8 stepsOpen RecipeCreate a new version
Create a new version for an EdgeWorker ID.
Note: You cannot use cURL to create a new version of an EdgeWorker ID. cURL does not support the multi-part data included in the POST request.
8 stepsOpen RecipeDelete an EdgeWorker version
Delete an EdgeWorker version permanently from an EdgeWorker ID.
6 stepsOpen RecipeDelete an EdgeWorker ID
Delete an existing EdgeWorker ID from your account permanently.
5 stepsOpen RecipeList Properties
View the active and inactive properties using an existing EdgeWorker ID.
6 stepsOpen RecipeBoost search autocomplete performance
Accelerate autocomplete at the edge by suggesting relevant search terms while a visitor types in a search box.
4 stepsOpen RecipeAdd geo and custom data as a cookie
This recipe implements an EdgeWorker to add geolocation data to a cookie in the HTTP response. The cookie returns location information about the client where the request originates, including a lookup from custom data.
8 stepsOpen Recipe
