QS | EW ID | Name | Description | Image |
ew=1 | 6250 | Hello World |
Super basic example of an Edge Worker. Adds a 'hello World' header to
the response. Code and explanation are available here . To use this edge worker, add query parameter ew=1 |
|
ew=2 | 6249 | GEO Location |
Uses an edge worker to return info on where the user is located.
Code and explanation are available here . To use this edge worker, add query parameter ew=2 |
|
ew=3 | 5940 | (Open) | What happens if you put a response on every event handler``? | |
ew=4 | 7765 | Send Data to mPulse | This EW uses the mPulse REST API to send data to mPulse. During 'OnClientRequest' an HTTP subrequest makes the request for the config. During 'OnClientResponse' the data is actually sent to mPulse. It's sending to tenant 'mostenbe' and app 'ew-playground.com'. Sending data to mPulse with an Edge Worker allows mPulse to be used for items that otherwise may not be measurable by mPulse like PDF downloads and direct API requests. | |
ew=5 | 7766 | Auto complete via EKV | Perform autocomplete from EKV. If EKV doesn't have value, then do HTTP subrequest. (Do this from response provider since responses may be > 2k) | |
ew=6 | 7767 | Send ping and selectively bypass cache |
Active on domain www.mikes-notes.com. This EW will:
|
|
ew=7 | 38845 | Search and Replace | From the GitHub sample here: https://github.com/akamai/edgeworkers-examples/tree/master/edgecompute/examples/stream/find-replace-stream Searches a stream for a value and replaces. Place 'searchfor' and 'replacewith' as query parameters. | |
ew=8 | 38848 | Auto Complete | From the GitHub sample here: https://github.com/akamai/edgeworkers-examples/tree/master/edgecompute/examples/search/fast-autocomplete Put the search term as query parameter 'term'. JS has data for various car brands (bmw, toyota, honda ) |